A complete list of stock colors
The following is a complete list of the stock colors available. These colors can be used to change the background and text colors of a control by assigning them to the BackColor and TextColor properties. These colors can be assigned both at design time within the Forms Designer or under program control. For example, the following would change the background and text colors of the edit control:
.editControl1.BackColor = &.Cyan .editControl1.TextColor = &.DarkBlue
Black | ![]() |
Blue | ![]() |
DarkBlue | ![]() |
Brown | ![]() |
Cyan | ![]() |
DarkCyan | ![]() |
Default | |
Gray | ![]() |
DarkGray | ![]() |
Green | ![]() |
DarkGreen | ![]() |
Magenta | ![]() |
DarkMagenta | ![]() |
Red | ![]() |
DarkRed | ![]() |
White | ![]() |
Yellow | ![]() |
The following stock background colors are set by the user in the form preferences property tab of the client. It is the color currently in effect for this purpose that is used.
Edit | Used for editable fields in DbEdits and grids |
---|---|
EditReadOnly | Used for read-only fields in DbEdits and grids |
The first two of these background stock colors can be set by the user in the Currency preferences property tab of the client.
CurrencyEdit | Background color chosen in Preferences for an editable alternate currency |
---|---|
CurrencyEditReadOnly | Background color chosen in Preferences for a read-only alternate currency |
ConvertedEdit | Background color used for a editable alternate currency when converted into the alternate currency by the user clicking the currency button on the title bar |
ConvertedEditReadOnly | As above but for read-only fields |
These stock colors are set using the display applet in the Windows control panel
Face | The color used for the face of buttons and the background color of dialogs |
---|
This stock color varies according to the context of the control. It was introduced in KCML 6.00.
Background | The background color of the item that the control is on (frame control, tab control or the entire dialog). This is similar to making a control transparent, but more efficient as the control is still colored. |
---|
A complete list of stock fonts
A complete list of stock pictures
BackColor
TextColor