The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



OnBeforeCheckedChange


Unit:SDL_replist
Class:TReportListView
Declaration:property OnBeforeCheckedChange: TCheckStateChangeEvent;
{ TCheckStateChangeEvent = procedure (Sender: TObject; var State: boolean; Col, Row: longint) of object; }

This event is triggered after a check box of a cell in a checked column has been clicked and before the change of the state is actually performed. The variable parameter State contains the future state of the check box (after clicking it). The event OnBeforeCheckedChange may be used to intervene if the change of a check box is not allowed in a particular situation. The parameters Col and Row specify the column and row index of the check box.

Hint: Please note that the OnBeforeCheckedChange event is triggered only by user interaction. Changing the state of a check box programmatically (ElemChecked) does not trigger an OnBeforeCheckedChange event.


Last Update: 2012-Oct-20