Skip to main content

TdxSpreadSheetPageControl.Buttons Property

Specifies which caption bar buttons are available to an end-user.

Declaration

property Buttons: TdxSpreadSheetPageControlButtons read; write;

Property Value

Type
TdxSpreadSheetPageControlButtons

Remarks

Use this property to customize the ExpressSpreadSheet control’s caption bar. The Buttons property allows you to remove standard worksheet scroll buttons within the caption bar. By default, the caption bar provides a full set of sheet tab scroll buttons and the new worksheet button, as shown on the image below.

For instance, if you want to remove First and Last buttons from the caption bar, add the following code to the application form’s OnCreate event handler.

dxSpreadSheet1.PageControl.Buttons := [sspcbPrev, sspcbNext, sspcbNew];

The result of exectution of this code is presented on the image below.

For additional information about the ExpressSpreadSheet caption bar buttons, refer to the TdxSpreadSheetPageControlButton type description.

See Also