|
|
Visits:
2285
(26 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TCommandButton5 object is a wrapper object for the APL+Win CommandButton object.
Since TCommandButton5 are children of a TCommandBar5 object which has an <imagelist> defined, they can use
the image glyphs contained in the <buttons_bmp> bitmaps collection delivered with APL+Win Objects™ 6.0 |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TForm5'('*caption' 'TCommandButton5 Example')('*size'300 500)'DemoShow' 'SessionFocus'
'ff.cb1'Świ'*Create' 'TCommandBar5'
'ff.cb1.bn1'Świ'*Create' 'TCommandButton5'('*image'1)('*onClick' 'Test_Handlers')
'ff.cb1.bn2'Świ'*Create' 'TCommandButton5'('*image'2)('*onClick' 'Test_Handlers')
'ff.cb1.bn3'Świ'*Create' 'TCommandButton5'('*style'1) © separator
'ff.cb1.bn4'Świ'*Create' 'TCommandButton5'('*image'3)('*style'2)('*onClick' 'Test_Handlers') © toggle button
'ff.cb1.bn5'Świ'*Create' 'TCommandButton5'('*image'4)
'ff.cb1.bn6'Świ'*Create' 'TCommandButton5'('*image'31)('*style'6)('*onClick' 'Test_Handlers') © part fo a group of toggle buttons
'ff.cb1.bn7'Świ'*Create' 'TCommandButton5'('*image'25)('*style'6) © part fo a group of toggle buttons
'ff.cb1.bn8'Świ'*Create' 'TCommandButton5'('*image'34)('*style'6) © part fo a group of toggle buttons
'ff.cb2'Świ'*Create' 'TCommandBar5'('*dockbreak'1)
'ff.cb2.bn1'Świ'*Create' 'TCommandButton5'('*image'28)('*caption' 'Search') © with caption
'ff.cb2.bn2'Świ'*Create' 'TCommandButton5'('*image'169)('*caption' 'Stop the search') © with caption
'ff.cb2.bn3'Świ'*Create' 'TCommandButton5'('*image'190)('*caption' 'Excel') © with caption
'ff.cb3'Świ'*Create' 'TCommandBar5'('*dockbreak'1)
'ff.cb3.bn1'Świ'*Create' 'TCommandButton5'('*image'28)('*caption' 'Search')('*style'16) © with caption
'ff.cb3.bn2'Świ'*Create' 'TCommandButton5'('*image'169)('*caption' 'Stop the search')('*style'16) © with caption
'ff.cb3.bn3'Świ'*Create' 'TCommandButton5'('*image'190)('*caption' 'Excel')('*style'16) © with caption
'ff.cb4'Świ'*Create' 'TCommandBar5'('*dockbreak'1)('*style'1)
'ff.cb4.bn1'Świ'*Create' 'TCommandButton5'('*image'28)('*caption' 'Search')('*style'16) © with caption
'ff.cb4.bn2'Świ'*Create' 'TCommandButton5'('*image'169)('*caption' 'Stop')('*style'16) © with caption
'ff.cb4.bn3'Świ'*Create' 'TCommandButton5'('*image'190)('*caption' 'Excel')('*style'16) © with caption
'ff.cb4.bn4'Świ'*Create' 'TCommandButton5'('*image'170)('*style'8 16) © dropdown
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| class |
Description: Return current object class
Syntax: class„'obj' Świ 'class' |
| help |
Example:
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TCommandButton5 Example') ('*size'300 500) 'DemoShow' 'SessionFocus'
0 0˝'ff.cb1' Świ '*Create' 'TCommandBar5'
0 0˝'ff.cb1.bn1' Świ '*Create' 'TCommandButton5' ('*image'1) ('*onClick' 'Test_Handlers')
0 0˝'ff.cb1.bn2' Świ '*Create' 'TCommandButton5' ('*image'2) ('*onClick' 'Test_Handlers')
0 0˝'ff.cb1.bn3' Świ '*Create' 'TCommandButton5' ('*style'1) © separator
0 0˝'ff.cb1.bn4' Świ '*Create' 'TCommandButton5' ('*image'3) ('*style'2) ('*onClick' 'Test_Handlers') © toggle button
0 0˝'ff.cb1.bn5' Świ '*Create' 'TCommandButton5' ('*image'4)
0 0˝'ff.cb1.bn6' Świ '*Create' 'TCommandButton5' ('*image'31) ('*style'6) ('*onClick' 'Test_Handlers') © part fo a group of toggle buttons
0 0˝'ff.cb1.bn7' Świ '*Create' 'TCommandButton5' ('*image'25) ('*style'6) © part fo a group of toggle buttons
0 0˝'ff.cb1.bn8' Świ '*Create' 'TCommandButton5' ('*image'34) ('*style'6) © part fo a group of toggle buttons
0 0˝'ff.cb2' Świ '*Create' 'TCommandBar5' ('*dockbreak'1)
0 0˝'ff.cb2.bn1' Świ '*Create' 'TCommandButton5' ('*image'28) ('*caption' 'Search') © with caption
0 0˝'ff.cb2.bn2' Świ '*Create' 'TCommandButton5' ('*image'169) ('*caption' 'Stop the search') © with caption
0 0˝'ff.cb2.bn3' Świ '*Create' 'TCommandButton5' ('*image'190) ('*caption' 'Excel') © with caption
© By default buttons have same width
0 0˝'ff.cb3' Świ '*Create' 'TCommandBar5' ('*dockbreak'1)
0 0˝'ff.cb3.bn1' Świ '*Create' 'TCommandButton5' ('*image'28) ('*caption' 'Search') ('*style'16) © with caption
0 0˝'ff.cb3.bn2' Świ '*Create' 'TCommandButton5' ('*image'169) ('*caption' 'Stop the search') ('*style'16) © with caption
0 0˝'ff.cb3.bn3' Świ '*Create' 'TCommandButton5' ('*image'190) ('*caption' 'Excel') ('*style'16) © with caption
© Style 16: automatically resize button to fit text
0 0˝'ff.cb4' Świ '*Create' 'TCommandBar5' ('*dockbreak'1) ('*style'1)
0 0˝'ff.cb4.bn1' Świ '*Create' 'TCommandButton5' ('*image'28) ('*caption' 'Search') ('*style'16) © with caption
0 0˝'ff.cb4.bn2' Świ '*Create' 'TCommandButton5' ('*image'169) ('*caption' 'Stop') ('*style'16) © with caption
0 0˝'ff.cb4.bn3' Świ '*Create' 'TCommandButton5' ('*image'190) ('*caption' 'Excel') ('*style'16) © with caption
0 0˝'ff.cb4.bn4' Świ '*Create' 'TCommandButton5' ('*image'170) ('*style'8 16) © dropdown
© Note: you can use ('*style'16) ('*caption' (togglecaption/'caption')) to toggle the button caption |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TCommandButton5
Example:
'obj' Świ '*Create' 'TCommandButton5'
|
|
| Description Inheritance Example Properties Methods |
| |
|