Vcl.CategoryButtons.TCategoryButtons.ButtonOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ButtonOptions: TCatButtonOptions read FButtonOptions  write SetCatButtonOptions default [boGradientFill, boShowCaptions, boVerticalCategoryCaptions];

C++

__property TCatButtonOptions ButtonOptions = {read=FButtonOptions, write=SetCatButtonOptions, default=56};

Properties

Type Visibility Source Unit Parent
property published
Vcl.CategoryButtons.pas
Vcl.CategoryButtons.hpp
Vcl.CategoryButtons TCategoryButtons

Description

Specifies options for button display and behavior.

The following options are available:



Option Description

boAllowReorder

Allows the user to reorder buttons within a category at run time.

boAllowCopyingButtons

Allows the user to copy buttons at run time.

boFullSize

Sets the width of the buttons in a category to the maximum size, which is the entire width of the TButtonCategory object. In this case, each button appears on its own line.

boGradientFill

The color of the TButtonCategory button is shaded along a gradient. Otherwise, the color is solid.

boShowCaptions

Toggles the button captions. The category captions remain displayed.

boVerticalCategoryCaptions

The caption for a category appears on the side vertically when the group is expanded. Otherwise, it appears above the group.

boBoldCaptions

Makes category captions bold.

boUsePlusMinus

Uses the plus and minus signs to expand, respectively to collapse a category. Otherwise, uses arrows.

boCaptionOnlyBorder

When a category is collapsed so that only its caption button is displayed, draws a border around this button.



See Also

Code Examples