LeftAction

[property icon] LeftAction

Specifies the default mouse action for a left click

Enumerated type, possible values are:

Default Default behaviour. If applied to a cell, then any non-default style for the row or column or whole grid is used instead. If all these are Default, then the behaviour is the same as Ignore
Ignore Ignores all button mouse action
Down A single click event will be triggered when the mouse button is pushed on a cell. The Down style is useful where the program action is immediate, such as changing the color of a cell or putting the cell into edit mode. Moving the mouse around a grid with the button held down will also generate click events for cells with this style set
Click A click event will be triggered when the mouse button is clicked on a cell. A Click style is useful where less immediate action is taken such as bring up another form, as the behaviour is similar to that of a push button
ClickAndDblClick A click event will be triggered when the mouse button is clicked on a cell. A click event and then a double click event will be triggered when the mouse button is double clicked on a cell

Applies to: Grid , GridCell


>LeftAction

LeftAction

This property is used to specify what action is to be taken if the left mouse button is held down, clicked or double clicked on a KCML grid cell. If the style for a cell is not Default, then this style will apply to the cell. If the style is Default, then the left mouse action will depend on any non-default LeftAction setting for the row or column, or the entire grid.

See also

Grid methods, properties and events. GridCell methods, properties and events.