
Best viewed with
|
|
Unit: gwGrid
Ancestor: TgwGridObject
Properties
Height,
Cell,
Stretch,
Y,
Index,
Sizing,
Moving,
Methods
Assign,
 |
|
Height
|
|
|
property Height : integer;
|
|
|
Description
|
Use Height to set the height of the row.
|
|
|
Default
|
A row's default height is determined by the grid's
DefaultRowHeight property
|
|
|
See also
|
TgwCustomGrid
|
|
|
|
Set height of row[2] to 20 pixels
Grid.Row[2].Height := 20;
|
 |
|
Cell
|
|
|
property Cell[Column : Integer]: TCell;
|
|
|
Description
|
Use Cell to reference the Cell in column Column
on this row.
|
|
|
|
Set text of cell[3] to 'Hello' for row[0]
Grid.Row[0].Cell[3].Text := 'Hello';
|
 |
|
Stretch
|
|
|
property Stretch : boolean;
|
|
|
Description
|
Use Stretch to specify whether the row's height will
automatically stretch so that there is no gap at
the bottom of the grid.
'Stretchy' rows will be resized whenever the grid is resized.
|
|
|
Default
|
false
|
|
|
|
Make row[0] stretch
Grid.Row[0].Stretch := true;
|
 |
|
Y
|
|
|
property Y : integer;
Read only
|
|
|
Description
|
Use Y to determine the vertical position of the row.
|
 |
|
Index
|
 |
|
Sizing
|
|
|
property Sizing : boolean;
|
|
|
Description
|
Use Sizing to specify whether the user is allowed to
resize the row.
The prevent the user from sizing the row set Sizing to false.
|
|
|
Default
|
true
|
|
|
See also
|
Moving
|
|
|
|
Prevent user from sizing row[0]
Grid.Row[0].Sizing := false;
|
 |
|
Moving
|
|
|
property Moving : boolean;
|
|
|
Description
|
Use Moving to specify whether the user is allowed to
move the row.
The prevent the user from moving the row set Moving to false.
|
|
|
Default
|
true
|
|
|
See also
|
Sizing
|
|
|
|
Prevent user from moving row[0]
Grid.Row[0].Moving := false;
|
 |
|
Assign
|
|
|
procedure Assign(ARow : TRow; Ignore : TInheritOptions); virtual;
|
|
|
Description
|
Call Assign to assign one row to another.
Any properties specified by the Ignore parameter with not be assigned.
|
|
|
|
Assign row[2] to row[3] but do not assign any Font properties
Grid.Row[3].Assign(Grid.Row[2],
[ptFontName, ptFontBold,
ptFontItalic, ptFontUnderline,
ptFontStrikeout, ptFontSize]);
|
|
Copyright © 1998-2007 Innova Software ALL RIGHTS RESERVED
All trademarks are the property of their respective owners.
Webmaster webmaster@innovasoftware.com
|