|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

Grid.GetGridColors

OverviewExamples

table Grid.GetGridColors ( string ObjectName )


De s cr ip t ion


Returns the background, grid line, and tooltip colors of a grid object.


P arame t er s


ObjectName


(string) The name of the grid object.


Re t u r n s


(table) A table indexed by the following values. If an error occurs, nil will be returned.



KEY


TYPE DESCRIPTION


GridBackground


number


The color value of the grid's background. If this value is GRID_CLR_DEFAULT (4278190080) then the grid is set to the default color according to the user's Windows color scheme.


GridLines


number


The color value of the grid's lines. If this value is GRID_CLR_DEFAULT (4278190080) then the grid lines are set to the default color according to the user's Windows color scheme.


TooltipBackground


number


The color value of the grid tooltip's background. If this value is GRID_CLR_DEFAULT (4278190080) then the tooltip background is set to the default color according to the user's Windows color scheme.


TooltipText


number


The color value of the grid tooltip's text. If this value is GRID_CLR_DEFAULT (4278190080) then the tooltip text is set to the default color according to the user's Windows color scheme.

You can use Application.GetLastError to determine whether this action failed, and why.


|