Column

From Lianjapedia
Jump to: navigation, search

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Description

Shown below in a standalone Form. Click the image to see in a Custom Section in a Lianja Page.

Grid, Column

A Grid is a container object that displays data in rows and columns, and is similar in appearance to a Browse window. A grid is also a container object that contains column objects. A column can contain a Header object and controls. Because a grid and its columns, headers, and controls each have their own set of properties, you have complete control over each element of the grid.

Properties

This class supports the Common Properties plus the following:

Property Access (R/RW) Value Description
BackColor RW Numeric or Character Background color
Button RW Boolean Whether column is displayed as a button. From v5.0.
ButtonCaption RW Character Caption text if column is displayed as a button. From v5.0.
Caption RW Character Header caption text
ChoiceList RW Character List of choices for data input
CustomDisplay RW Character The name of a procedure/function that will return the display text for the cell.
From v5.0.
CustomEditor RW Character The name of a procedure/function that will return a custom editor for the cell.
This may be a container with multiple controls. From v5.0.
DatamappingGet RW Character Expression to evaluate for custom data mapping when reading data
DatamappingSet RW Character Expression to evaluate for custom data mapping when writing data
Default RW Character Default value when adding new row
ForeColor RW Numeric or Character Foreground color
Header1 R Object Return an object reference to the column's Header object
InputMask RW Character Input mask for data entry
Readonly RW Boolean Whether column is read only
Validation RW Character Validation condition to evaluate for update
ValidationMessage RW Character Message to display when Validation returns False
Width RW Numeric Width in pixels

Methods

This class supports the Common Methods plus the following:

Method Args Description

Events

This class supports the Common Events plus the following:

Event Args Description