SelectedColor - ColorDialog
Holds the color that will be used as the default when the dialog box is displayed
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer SelectedColor
| Access Type | Syntax |
|---|---|
| Read Access: | Get SelectedColor to IntegerVariable |
| Write Access: | Set SelectedColor to IntegerVariable/Value |
Description
The SelectedColor property holds the color that will be used as the default when the dialog box is displayed (assuming SelectedColor_State is true). The property is automatically modified to reflect the color the user selected. The functions R_From_RGB(), G_From_RGB() and B_From_RGB() can be used to retrieve the r, g, and b color components respectively. The property can either be set directly to an integer (or a hex number, such as $0000FF for full-intensity red) or with the RGB() function: Set SelectedColor To (RGB(255,0,0)).