Contents - Index - Previous - Next


Clear method



Applies to
TProfGridSelection class

Declaration
function Clear(ClearReadOnly: Boolean): Boolean;

Description

Empties the cells in the current selection.

If ClearReadOnly parameter is True, the read-only cells are also cleared by the method.

The method performs "clearing" in terms of most frequently expected by end users behavior, i.e clearing of values, formulae and graphics for non-checkbox cells, and unchecking checkboxes for checkbox cells.

The method does not affect merging, fonts, colors, alignment, and borders.