Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Theme_ToggleButton_GetForegroundColorIndex

  • Last UpdatedJul 18, 2023
  • 1 minute read

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")))

Theme_Control_GetColorIndex, Theme_Control_GetForegroundColorIndex, Theme_Header_GetBackgroundColorIndex, Theme_Header_GetColorIndex, Theme_Header_GetForegroundColorIndex, Theme_Header_GetMidColorIndex, Theme_SetTheme

See Also

Public Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in