Vcl.ActnMan.TCustomActionManager.Style
Delphi
property Style: TActionBarStyle read FStyle write SetStyle;
C++
__property TActionBarStyle* Style = {read=FStyle, write=SetStyle};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ActnMan.pas Vcl.ActnMan.hpp |
Vcl.ActnMan | TCustomActionManager |
Description
Identifies the style object that gives the application its default look and feel.
Use Style to access the application's Style object. This object manages which type of controls are used on the action bands to present a particular thematic look. To change the overall appearance of action bands in your application, change the style property accordingly. The styles are: Platform Default, XP Style, and Standard. Platform Default is the default. You can further augment these styles by using colormap components to control the colors that render the different style of controls.
Running on Vista or later Windows operating systems, with Style set to Platform Default and themes enabled, you get a style that uses theming engines to draw all user interface elements. Buttons are painted like Vista or Windows 7 toolbars, and menus are painted in the themed style. With Style set to XP Style, the style reverts to XP style. When Style is set to Standard, the style reverts to the standard style.
Running on XP, with Style set to Platform Default or XP Style, style reverts to XP style. With Style set to Standard, the style reverts to the standard style.
Running on Windows 2000, style reverts to the Standard style.
To register new styles, create a descendant of TActionBarStyleEx and register it using RegisterActnBarStyle.