|
|
Visits:
2617
(23 on line)
|
Last Update: Dec 22, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TFlatButton5 Object uses a Toolbox object to display a button which reveals a 3D effect when the mouse hovers it |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TObject5 TToolbox5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TForm5'('*caption' 'TFlatButton5 Example')('*border'3 16)
'ff.frm'Świ'*Create' 'TFrame5'('*style'1)('wherelc'Ż2 Ż2 70 325)
'ff.frm.lab'Świ'*Create' 'TLabel5'('*where'(2 2,Ż3 1+'ff.frm'Świ'*size'))('*color'128 128 128)('*caption' '')
aaa„5 4˝›''
aaa[1;]„'contra.bmp' 'contraup.bmp' 'contradn.bmp' 'contradn.bmp'
aaa[2;]„'visa.bmp' 'visaup.bmp' 'visadn.bmp' 'visadn.bmp'
aaa[3;]„'edit.bmp' 'editup.bmp' 'editdn.bmp' 'editdn.bmp'
aaa[4;]„'table.bmp' 'tableup.bmp' 'tabledn.bmp' 'tabledn.bmp'
aaa[5;]„'blocn.bmp' 'blocnup.bmp' 'blocndn.bmp' 'blocndn.bmp'
'ff.frm.lab.bn1'Świ'*Create' 'TFlatButton5'((›'bitmaps'),aaa[1;])('wherelc'5 0 60 60)('onClick' '''Button 1 Clicked''')
'ff.frm.lab.bn2'Świ'*Create' 'TFlatButton5'((›'bitmaps'),aaa[2;])('wherelc' '=' '>' '=' '=')('onClick' '''Button 2 Clicked''')
'ff.frm.lab.bn3'Świ'*Create' 'TFlatButton5'((›'bitmaps'),aaa[3;])('wherelc' '=' '>' '=' '=')('onClick' '''Button 3 Clicked''')
'ff.frm.lab.bn4'Świ'*Create' 'TFlatButton5'((›'bitmaps'),aaa[4;])('wherelc' '=' '>' '=' '=')('onClick' '''Button 4 Clicked''')
'ff.frm.lab.bn5'Świ'*Create' 'TFlatButton5'((›'bitmaps'),aaa[5;])('wherelc' '=' '>' '=' '=')('onClick' '''Button 5 Clicked''')
'ff'Świ'Redim'0
'ff'Świ'*size'(200 0+'ff'Świ'*size')
'ff'Świ'DemoShow'
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| bitmaps |
Description: Get or set the 4 bitmaps file names for the 4 button states
Syntax: 'obj' Świ 'bitmaps'filenames
filenames: the bitmap file names (with no directory prefix) for the following states:
[1]=normal, 2=up, 3=down & 4=inactive
Example:
'ff.frm.lab.bn1' Świ 'bitmaps' 'blocn.bmp' 'blocnup.bmp' 'blocndn.bmp' 'blocndn.bmp' |
| class |
Description: Return current object class
Syntax: class„'obj' Świ 'class' |
| help |
Example:
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TFlatButton5 Example') ('*border'3 16)
0 0˝'ff.frm' Świ '*Create' 'TFrame5' ('*style'1) ('wherelc'Ż2 Ż2 70 325)
0 0˝'ff.frm.lab' Świ '*Create' 'TLabel5' ('*where' (2 2,Ż3 1+'ff.frm' Świ '*size')) ('*color'128 128 128) ('*caption' '')
aaa„5 4˝›''
aaa[1;]„'contra.bmp' 'contraup.bmp' 'contradn.bmp' 'contradn.bmp'
aaa[2;]„'visa.bmp' 'visaup.bmp' 'visadn.bmp' 'visadn.bmp'
aaa[3;]„'edit.bmp' 'editup.bmp' 'editdn.bmp' 'editdn.bmp'
aaa[4;]„'table.bmp' 'tableup.bmp' 'tabledn.bmp' 'tabledn.bmp'
aaa[5;]„'blocn.bmp' 'blocnup.bmp' 'blocndn.bmp' 'blocndn.bmp'
0 0˝'ff.frm.lab.bn1' Świ '*Create' 'TFlatButton5' ((›'bitmaps'),aaa[1;]) ('wherelc'5 0 60 60) ('onClick' ' Ś„''Button 1 Clicked''')
0 0˝'ff.frm.lab.bn2' Świ '*Create' 'TFlatButton5' ((›'bitmaps'),aaa[2;]) ('wherelc' '=' '>' '=' '=') ('onClick' ' Ś„''Button 2 Clicked''')
0 0˝'ff.frm.lab.bn3' Świ '*Create' 'TFlatButton5' ((›'bitmaps'),aaa[3;]) ('wherelc' '=' '>' '=' '=') ('onClick' ' Ś„''Button 3 Clicked''')
0 0˝'ff.frm.lab.bn4' Świ '*Create' 'TFlatButton5' ((›'bitmaps'),aaa[4;]) ('wherelc' '=' '>' '=' '=') ('onClick' ' Ś„''Button 4 Clicked''')
0 0˝'ff.frm.lab.bn5' Świ '*Create' 'TFlatButton5' ((›'bitmaps'),aaa[5;]) ('wherelc' '=' '>' '=' '=') ('onClick' ' Ś„''Button 5 Clicked''')
0 0˝'ff' Świ 'Redim'0
0 0˝'ff' Świ '*size' (200 0+'ff' Świ '*size')
0 0˝'ff' Świ 'DemoShow' |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TFlatButton5
Example:
'obj' Świ '*Create' 'TFlatButton5'
|
|
| Description Inheritance Example Properties Methods |
| |
|