TdxBarManager.GetRealPaintStyle Method
Returns the real paint style of the current bar manager.
Declaration
function GetRealPaintStyle: TdxBarRealPaintStyle;
Returns
Type |
---|
TdxBarRealPaintStyle |
Remarks
The GetRealPaintStyle function is used when the currently installed operating system is not Windows XP or XP theme is not available. The Windows XP style can still be set using one of two methods:
set the Style property to bmsXP;
set the Style property to bmsUseLookAndFeel and set the LookAndFeel.NativeStyle property to True.
In this instance, toolbars will be painted using the bmsEnhanced paint style. The GetPaintStyle function will return the bmsXP value whereas the GetRealPaintStyle function will return the bmsEnhanced value, that is the real value of the display style.
In the case when the currently installed operating system is Windows XP, XP theme is available and the Windows XP style is set both the GetRealPaintStyle and GetPaintStyle functions return the bmsXP value.