Skip to main content

TdxSpreadSheetBordersAll Class

An action object that implements the BordersAll end-user command in Spreadsheet and Report Designer-based applications.

Declaration

TdxSpreadSheetBordersAll = class(
    TdxSpreadSheetCustomLineStyleBordersAction
)

Remarks

This class does not introduce any new public members. Executing this action object applies the sscbsThin style to all cell borders within the currently selected cell ranges.

VCL SpreadSheet: All Borders Example

UI elements linked to a TdxSpreadSheetBordersAll action object are enabled only if the following conditions are met:

If no cells can be selected in the protected worksheet (i.e., its OptionsProtection.ActualAllowSelectUnlockedCells property returns False), executing the TdxSpreadSheetBordersAll action object has no effect.

See Also