CurrentRowColor - DfBaseEntryList

Sets the background color of the current row

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 Property Integer CurrentRowColor

Read Access: Get CurrentRowColor to IntegerVariable
Write Access: Set CurrentRowColor to IntegerVariable/Value


Description

CurrentRowColor sets the background color of the current row. This is passed a single value representing an RGB color. Individual Red, Green, and Blue colors are converted to a single value by using the RGB function.

If no value is specifically set, a default color setting is used. The default is stored in a global integer named default_highlight_row_color. Its default value is aqua (rgb(0, 255, 255)). You may change this value in your program. You may also change a default value within your registry by changing the key TableRowColor. If you set the key TableRowColor in the registry, you must use a string value in the form of red, green, blue (e.g., 0, 255, 0 is green).

Set CurrentRowColor to (rgb(255, 0, 0)) // red
 
Set CurrentRowColor to clPurple
 
Set CurrentRowColor to clBtnFace

Note: The rgb.pkg package contains names for most of commonly used colors and names for all system colors.