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....



SetAllCheckmarksOfCol


Unit: SDL_replist
Class: TReportListView
Declaration: [1] procedure SetAllCheckmarksOfCol (Column: longint; Checked: boolean);
[2] procedure SetAllCheckmarksOfCol (Column: longint; Checked, AffectEnabledRowsOnly: boolean);

The procedure SetAllCheckmarksOfCol sets all check marks in column Column to the value Checked (TRUE = checked, FALSE = not checked). The procedure comes in two overloaded versions. Version [1] always affects all rows of the report list, regardless of whether the row is enabled or disabled. Version [2] allows you to select whether only enabled rows should be processed by setting the parameter AffectEnabledRowsOnly.

Please note that this method only will have an effect if the property ColumnCheckMode is set to cmBox.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): multilinreg



Last Update: 2023-Dec-13