RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Buttons.TButtonStyle Enumeration

TButtonStyle specifies the basic look of a TBitBtn control.

Pascal
TButtonStyle = (
  bsAutoDetect,
  bsWin31,
  bsNew
);
C++
enum TButtonStyle {
  bsAutoDetect,
  bsWin31,
  bsNew
};

Buttons

The following are possible values of TButtonStyle:

Value 
Meaning 
bsAutoDetect  
When using Windows 3.x, the bitmap button uses the standard Windows 3.x look. When using a later version of Windows, the bitmap button uses a newer look.  
bsWin31  
Uses the standard Windows 3.1 look, regardless of which version of Windows is running.  
bsNew  
Uses a new bitmap button look, regardless of which version of Windows is running.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!