Skip to main content

TdxSpreadSheetBordersTopAndBottom Class

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

Declaration

TdxSpreadSheetBordersTopAndBottom = class(
    TdxSpreadSheetCustomLineStyleBordersAction
)

Remarks

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

VCL SpreadSheet: Top and Bottom Cell Borders

UI elements linked to a TdxSpreadSheetBordersTopAndBottom 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 TdxSpreadSheetBordersTopAndBottom action object has no effect.

Note

A TdxSpreadSheetBordersTopAndBottom action object does not affect the style of top and bottom borders of every cell within the current selection.

See Also