Grid.SetCellFont

Grid.SetCellFont (

string ObjectName,

number Row,

number Column,

table FontData = nil,

boolean Redraw = true )

Example 1

tblFont = {};
tblFont.FaceName = "Verdana";
tblFont.Height = 7;
tblFont.Weight = FW_THIN;
tblFont.Italic = true;
tblFont.Underline = true;
Grid.SetCellFont("Grid1", 3, 2, tblFont, true);

Sets the font properties for cell 3,2

Note: You can change the font settings for the entire grid using Grid.SetProperties().

See also: Related Actions