The AlternateRowColor property enables you to make alternate rows in an HTML Table different colors (useful for "ledger-formatted" output). For example, you could set up your table to have alternating white and green rows. For more information, see Defining Colors for Your Form and Controls.
Tip: Avoid using a dithered background color since text is often not as readable when displayed on top of it.
For HTMLTable only, you can also set this property using a Cascading Style Sheet. For more information, see Using Cascading Style Sheets.
Applies to: Grids and HTML Tables.
Setting dynamically:
form.control.SETALTERNATEROWCOLOR(amount_of_red, amount_of_green, amount_of_blue);
Property Settings:
Sets the alternate row color to be the same as BackColor (which means you have no alternate row color), if you do not have a Cascading Style Sheet applied to your form. Otherwise, it uses the setting in the Cascading Style Sheet.
Sets the alternate row to be the color defined by the amount of red, green, and blue.
WebFOCUS |