Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetPageControl.Buttons Property

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

#Declaration

Delphi
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