Sets the foreground color of a control. A numeric value representing an RGB color value must be assigned.
control. ForeColor = value
Where:
value
Represents an RGB color.
Control
Is the name of a control inserted in the form.
Objects: Transaction, Web Panel
Generators: .NET, Java
Controls: ErrorViewer, Attribute/Variable, Grid
Design Time: Applies to check boxes, combo/dynamic combo, edits, error viewer, list/dynamic list box, radio buttons and grid columns.
Execution Time: Applies to check boxes, combo/dynamic combo, edits, list/dynamic list box, radio buttons and grid columns.
The following should be added to make the forecolor of an edit control blue:
EditCtrl.Forecolor = RGB(0,0,255)
BackColor property