Set Colors

Color attributes can be specified in three ways:

Note also that the styles shipped with LANSA deliberately avoid using hardcoded standard colors and instead use the system colors of Windows objects. In this way the Windows settings of a workstation are used in the application. Often this is the best approach because LANSA visual styles do not control the color of all Window objects (such as title bars, scroll bars etc.) and therefore it is hard to be sure that a hardcoded color would suit the chosen Windows color scheme on every workstation.