AutoPlay Media Studio 9

Grid.SetProperties

Grid.SetProperties

This is the first topic This is the last topic  

Grid.SetProperties

This is the first topic This is the last topic  

OverviewExamples

Grid.SetProperties (

string ObjectName,

table Properties )

Example 1

Grid.SetProperties("Custom_Report", tReport);

Sets the properties of the "Custom_Report" grid object to those contained in table "tReport."

Example 2

-- Grid object properties table.

tblGridProps = {};

tblGridProps.Rows = 10;

tblGridProps.Columns = 10;

tblGridProps.FixedRows = 1;

tblGridProps.FixedColumns = 1;

tblGridProps.Editable = true;

tblGridProps.Selectable = true;

tblGridProps.CellDragAndDrop = false;

tblGridProps.ResizableRows = true;

tblGridProps.ResizableColumns = true;

tblGridProps.GridLines = GVL_BOTH;

tblGridProps.FontName = "Arial";

tblGridProps.FontSize = 10;

tblGridProps.FontUnderline = false;

tblGridProps.FontScript = ANSI_CHARSET;

tblGridProps.FontAntiAlias = true;

tblGridProps.FontWeight = FW_NORMAL;

tblGridProps.FontItalic = false;

tblGridProps.FontStrikeout = false;

tblGridProps.TextColor = Math.HexColorToNumber("000000");

tblGridProps.TextBackgroundColor = Math.HexColorToNumber("FFFFFF");

tblGridProps.FixedTextColor = Math.HexColorToNumber("000000");

tblGridProps.FixedBackgroundColor = Math.HexColorToNumber("ECE9D8");

tblGridProps.GridLineColor = Math.HexColorToNumber("C0C0C0");

tblGridProps.GridBackgroundColor = Math.HexColorToNumber("ACA899");

tblGridProps.TitleTipBackgroundColor = Math.HexColorToNumber("FFFFE1");

tblGridProps.TitleTipTextColor = Math.HexColorToNumber("000000");

tblGridProps.TooltipText = "";

tblGridProps.ResizeLeft = false;

tblGridProps.ResizeRight = false;

tblGridProps.ResizeTop = false;

tblGridProps.ResizeBottom = false;

tblGridProps.Width = 250;

tblGridProps.Height = 250;

tblGridProps.Y = 0;

tblGridProps.X = 0;

tblGridProps.Enabled = true;

tblGridProps.Visible = true;

Grid.SetProperties("Grid1", tblGridProps);

Create a custom table and set the grid

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us