|
|
Visits:
2275
(12 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TEditSpin5 Object is a combination of a TFrame5 object, a TEdit5 object
and a TSpinner5 object. It display an Edit control followed by 2 small buttons used to
increment or decrement the integer value dispayed in the Edit control. The Edit control must
contain an integer number. |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TEdit5 TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TForm5'('*caption' 'TEditSpin5 Example')
'ff.spin1'Świ'*Create' 'TEditSpin5'('wherelc'5 60 Đ 80)('caption' 'Age')('attach'1 2 3 2)
'ff.spin1'Świ'*Set'('range'0 100)('value'52)
'ff.ed1'Świ'*Create' 'TEdit5'('wherelc' '=' '>'Đ 180)('attach'3 2 3 2)
'ff.ed2'Świ'*Create' 'TEdit5'('wherelc' '>..spin1' '='Đ'=..spin1')('caption' 'Name')('attach'1 2 3 2)
'ff'Świ'DemoShowRedim'
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| class |
Description: Return current object class
Syntax: class„'obj' Świ 'class' |
| enabled |
Description: Get or Set the enabled property for the TEditSpin5 control
Syntax: {boolean„'} 'obj' Świ 'enabled' {boolean}
boolean: 0=disable control 1=enable control
Example:
'ff.edspin' Świ 'enabled'0 |
| help |
Example:
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TEditSpin5 Example')
0 0˝'ff.spin1' Świ '*Create' 'TEditSpin5' ('wherelc'5 60 Đ 80) ('caption' 'Age') ('attach'1 2 3 2)
'ff.spin1' Świ '*Set' ('range'0 100) ('value'52)
0 0˝'ff.ed1' Świ '*Create' 'TEdit5' ('wherelc' '=' '>'Đ 180) ('attach'3 2 3 2)
0 0˝'ff.ed2' Świ '*Create' 'TEdit5' ('wherelc' '>..spin1' '='Đ'=..spin1') ('caption' 'Name') ('attach'1 2 3 2)
'ff' Świ 'DemoShowRedim' |
| range |
Description: Same as the APL+Win Spinner object 'range' property
Syntax: {range„'} 'obj' Świ 'range' {range}
range: minimum and maximum allowed value
Example:
'ff.edspin' Świ 'range'30 |
| value |
Description: Get or Set the EditSpin value property
Syntax: {value„'} 'obj' Świ 'value' {value}
value: an integer
Example:
'ff.edspin' Świ 'value'10 |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TEditSpin5
Example:
'obj' Świ '*Create' 'TEditSpin5'
|
|
| Description Inheritance Example Properties Methods |
| |
|