Description
The background color for the cell.
Timing Precision Mode
This page describes functionality in millisecond timing precision mode.
Click here to see the documentation for this object in nanosecond timing precision mode.
Attributes
Type:
|
color
|
Access:
|
read/write
|
Default Value:
|
|
Syntax
myVariable1 = myGridCell1.BackgroundColor;
myGridCell1.BackgroundColor = myVariable1;
|
The script below shows how edit the background color of a GridCell using the BackgroundColor property.
// Edit the BackgroundColor of a GridCell
GridWindow gw;
gw.Show();
gw.NumberOfRows = 1;
gw.NumberOfColumns = 1;
Pause 1;
gw.GetCell(0,0).BackgroundColor = ColorTools.Red;
|
|
See also
GridCell Object
Colors in FreeFlyer
GridWindow Guide
|