Returns the control highlight foreground color for a toggle button used for icons and text.
Syntax
Theme_ToggleButton_GetForegroundColorIndex(INT nState)
nState
Indicates which state the UI element is in such that correct shade of the color is returned.
Return Value
Returns an index into the color array configured on the graphics object that called this function.
Example
Theme_ToggleButton_GetForegroundColorIndex(Button_GetState(DspGetAnFromName("..\Button3.Background")))
Related Functions
Published June 2018