Language Reference - Colour Constants
Colour constants |
|---|
The following colour constants can now be used in Equinox method language or picked directly from the colour picker.
f these colour constants are used in method language they will take their values from the windows system colours for the operators machine at runtime.
- ColourScrollbar
- ColourDesktop
- ColourActiveCaption
- ColourInactiveCaption
- ColourMenu
- ColourWindow
- ColourWindowFrame
- ColourMenuText
- ColourWindowText
- ColourCaptionText
- ColourActiveBorder
- ColourInactiveBorder
- ColourAppWorkspace
- ColourHighlight
- ColourHighlightText
- ColourBtnFace
- Colour3DShadow
- ColourGreyText
- ColourBtnText
- ColourInactiveCaptionText
- Colour3DHighlight
- Colour3DDkShadow
- Colour3DLight
- ColourInfoText
- ColourInfoBk
- ColourTransparent
Unnamed colours were previously known as Colour xx where xx was the relevant colour number. They are now known as Colourxx, having removed the space. This means you can either use the constant Colourxx or just the colour number.
NOTE - Colours renamed to over Colour 228 in previous versions of Equinox cannot be referenced in method language anymore as Equinox 4 has renamed them. They need to be recreated using a lower number.
Upgrading version 2 or 3 to version 4:
Version 2/3 used the standard Equinox grey (from the Equinox colour palette) as the default background colour for forms and objects. As Version 4 now uses the windows colour scheme of the current user to take its default values, you may find that new objects/forms added to an upgraded application will have a different colour.