This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Sets foreground color of the dialog - default text color.
Syntax
' Set
<dialogName>.ForeColor = foregroundColorRGB
Returns
None
Parameters (Set only)
Name |
Type |
Optional |
Meaning |
foregroundColorRGB |
Number |
No |
RGB value of the color |
Remarks
Restrictions
NOT IMPLEMENTED - reserved for future use.
See also
Examples
uses "ui"
#resource "frmMain.rc" ' Resource file containing dialog named frmMain and button named btnClose
function TBMain()
dialog new units, name frmMain, %HWND_DESKTOP ' Style and controls loaded from RC file,
' dialog and control have now automatic frmMain and btnClose pseudo-objects
frmMain.ForeColor = RGB(0, 255, 0)
dialog show modal frmMain.Handle ' Dialog displayed as modal
end function