Description
The background color behind the GridWindow.
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:
|
|
RGB(0.941176470588235,0.941176470588235,0.941176470588235)
|
|
Syntax
myVariable1 = myGridWindow1.BackgroundColor;
myGridWindow1.BackgroundColor = myVariable1;
|
The script below shows how edit the background color of a GridWindow using the BackgroundColor property.
// Edit the BackgroundColor of a GridWindow
GridWindow gw;
gw.Show();
gw.NumberOfRows = 3;
gw.NumberOfColumns = 3;
gw.BackgroundColor = ColorTools.Red;
|
|
See also
GridWindow Object
Colors in FreeFlyer
GridWindow Guide
|