Up | Button | BitBtn | SpeedButton | CheckBox | ComboBox | Control | Edit | Memo | Font | GroupBox | Label | ListBox | PageControl | Panel | RadioButton | Bevel | ScrollBox | TabSheet | WinControl | Callback | Frame | WinControl | Form | Release Notes

 

  

 
BitBtn

The BitBtn class is derived from the TButton class and has the ability to show an image in addition to the caption.

access function : GetBitBtn(name)

Additional attributes of the BitBtn class

Attribute Access Type Description
kind R/W int the button kind, Custom=0, OK=1, Cancel=2, Help=3, Yes=4, No=5, Close=6, Abort=7, Retry=8, Ignore=9, All=10
layout R/W int the glyph position, Left=0, Right=1, Top=2, Bottom=3
margin R/W int image margin to control boundaries. Default=-1 - windows default
glyphName W string filename of BMP file to show
numGlyphs R/W int number of "glyphs" in bitmap. A button bitmap may contain 1 to 4 glyphs to indicate button state, Enabled (1), Disabled (2), Checked (3) and Unchecked (4). A bitmap of multiple glyhps must have a width of of 2, 3 or 4 times actual width of one glyph as it is splitted equally due to numGlyphs.
 

Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.