[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TGridColumn - a column of similar data items in a grid
Source position: grids.pas line 415
type TGridColumn = class(TCollectionItem) |
||
protected |
||
function GetDisplayName; override; |
|
|
function GetDefaultAlignment; virtual; |
|
GetDefaultAlignment - returns the default alignment |
function GetDefaultColor; virtual; |
|
GetDefaultColor - returns the default colour |
function GetDefaultLayout; virtual; |
|
GetDefaultLayout - returns the default layout for text |
function GetDefaultMaxSize; virtual; |
|
GetDefaultMaxSize -returns the default maximum size |
function GetDefaultMinSize; virtual; |
|
GetDefaultMinSize - returns the default minimum size |
function GetDefaultReadOnly; virtual; |
|
GetDefaultReadOnly - returns the default value for the ReadOnly property |
function GetDefaultSizePriority; |
|
GetDefaultSizePriority - returns the default value for size priority |
function GetDefaultVisible; virtual; |
|
GetDefaultVisible - returns the default value for the Visible property |
function GetDefaultValueChecked; virtual; |
|
GetDefaultValueChecked - returns the default value for a checked column |
function GetDefaultValueUnchecked; virtual; |
|
GetDefaultValueUnchecked - returns the default value for an unchecked column |
function GetDefaultWidth; virtual; |
|
GetDefaultWidth - returns the default value for width |
function GetPickList; virtual; |
|
GetPickList - returns the picklist as a list of strings |
function GetValueChecked; |
|
GetValueChecked - returns a checked value as a string |
function GetValueUnchecked; |
|
GetValueUnchecked - returns an unchecked value as a string |
procedure ColumnChanged; virtual; |
|
ColumnChanged - method for dealing with change of column |
procedure AllColumnsChange; |
|
AllColumnsChange - method for processing a change in all columns |
function CreateTitle; virtual; |
|
CreateTitle - creates a column title and returns it in the result |
procedure SetIndex(); override; |
||
property IsDefaultFont: Boolean; [r] |
|
IsDefaultFont - if True, the default font is being used |
public |
||
constructor Create(); override; |
|
Create - constructor for TGridColumn: calls inherited Create, then creates a title and font, initialises a picklist and sets styles |
destructor Destroy; override; |
|
Destroy - destructor for TGridColumn: disposes of various local variables, frees picklist, font and title, then calls inherited Destroy |
procedure Assign(); override; |
|
|
procedure FillDefaultFont; |
|
FillDefaultFont - method to fill all cells in the column with the default font |
function IsDefault; virtual; |
|
IsDefault - returns True if this column is the default |
property Grid: TCustomGrid; [r] |
|
The Grid to which this column belongs |
property WidthChanged: Boolean; [r] |
|
WidthChanged - if True, width has been changed |
published |
||
property Alignment: TAlignment; [rws] |
|
Alignment - whether justified, centred etc |
property ButtonStyle: TColumnButtonStyle; [rw] |
|
ButtonStyle - the style of any column button |
|
the Color for this column |
|
property DropDownRows: LongInt; [rw] |
|
DropDownRows - the number of rows in the drop-down list |
property Expanded: Boolean; [rw] |
|
Whether the column has been Expanded |
|
The Font for the column |
|
property Layout: TTextLayout; [rws] |
|
The Layout for text |
|
MinSize - the minimum size |
|
|
MaxSize - the maximum size |
|
|
PickList - the list of items selected from this column |
|
property ReadOnly: Boolean; [rws] |
|
ReadOnly - if True, only reading (not writing) is allowed |
property SizePriority: Integer; [rws] |
|
SizePriority - the value of the size priority in the sorted order |
property Title: TGridColumnTitle; [rw] |
|
The Title for the column |
|
The Width of the column |
|
property Visible: Boolean; [rws] |
|
Visible - if True, the column can be seen (ie not hidden) |
property ValueChecked: String; [rws] |
|
ValueChecked - a string value of a checked item |
property ValueUnchecked: String; [rws] |
|
ValueUnchecked - a string value of an unchecked item |
end; |
|
TGridColumn - a column of similar data items in a grid |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |