|
|
Visits:
2673
(17 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
A TCheck5 object is a cover object for the APL+Win Check object.
Its main additional feature is to support input validation and validation error messages
To do so, you must set the <handler> property of the parent form and write your validation
check in the <handler> function for the onClick event on the TCheck5 object.
Example:
'ff'Świ'handler' 'Test_Handlers'
and in the Test_Handlers function include the following sample lines:
Źck1_onClick:
Źck2_onClick:
:if ‘ck1^‘ck2
Śwres„'Check boxes 1 and 2 cannot be both checked at the same time!'
:end
:return
See also: TCheckGroup5 TOption5 TOptionGroup5 |
| 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'('*size'300 400)('*caption' 'TCheck5 Example')('handler' 'Test_Handlers')
'ff.ed1'Świ'*Create' 'TEdit5'('wherelc'5 100 Đ 100)('caption' 'Name')
'ff.ck1'Świ'*Create' 'TCheck5'('wherelc' '>' '=' Đ 100)('*caption' 'APL+PC')
'ff.ck2'Świ'*Create' 'TCheck5'('wherelc' '>' '=' Đ 100)('*caption' 'APL+Dos')('just' 'right')
'ff.ck3'Świ'*Create' 'TCheck5'('wherelc' '>' '=' Đ 100)('caption' 'APL2 (IBM)')('*caption' '')
'ff.ck4'Świ'*Create' 'TCheck5'('wherelc' '>' '=' Đ 100)('*caption' 'APL+Win')
'ff.ck5'Świ'*Create' 'TCheck5'('wherelc' '>' '=ff.ed1' Đ 100)('caption' 'APL+Unix')('*caption' '(for Unix)')
'ff'Świ'DemoShowRedim'
|
| |
| 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' ('*size'300 400) ('*caption' 'TCheck5 Example') ('handler' 'Test_Handlers')
0 0˝'ff.ed1' Świ '*Create' 'TEdit5' ('wherelc'5 100 Đ 100) ('caption' 'Name')
0 0˝'ff.ck1' Świ '*Create' 'TCheck5' ('wherelc' '>' '=' Đ 100) ('*caption' 'APL+PC')
0 0˝'ff.ck2' Świ '*Create' 'TCheck5' ('wherelc' '>' '=' Đ 100) ('*caption' 'APL+Dos') ('just' 'right')
0 0˝'ff.ck3' Świ '*Create' 'TCheck5' ('wherelc' '>' '=' Đ 100) ('caption' 'APL2 (IBM) ') ('*caption' '')
0 0˝'ff.ck4' Świ '*Create' 'TCheck5' ('wherelc' '>' '=' Đ 100) ('*caption' 'APL+Win')
0 0˝'ff.ck5' Świ '*Create' 'TCheck5' ('wherelc' '>' '=ff.ed1' Đ 100) ('caption' 'APL+Unix') ('*caption' ' (for Unix) ')
'ff' Świ 'DemoShowRedim' |
| just |
Description: Sets the check box caption to the left or to the right of the check box
Syntax: {position„'} 'obj' Świ 'just' {position}
position: 'left' (default) or 'right'
Example:
'ff.ck1' Świ 'just' 'right' |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TCheck5
Example:
'obj' Świ '*Create' 'TCheck5'
|
|
| Description Inheritance Example Properties Methods |
| |
|