|
|
Visits:
2381
(18 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TDateTime5 object is a wrapper around the APL+Win DateTime object.
It makes it easier to use the DateTime object and allows to specify dates in many
different formats. It also supports input validation. |
| 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' 'TDateTime5 Example')
'ff.dt'Świ'*Create' 'TDateTime5'('wherelc'Đ(100'>' 'Birth Date')Đ 200)
'ff'Świ'Redim'
'ff'Świ'DemoShow'
'ff'Świ'SessionFocus'
|
| |
| 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' 'TDateTime5 Example')
0 0˝'ff.dt' Świ '*Create' 'TDateTime5' ('wherelc'Đ(100'>' 'Birth Date')Đ 200)
0 0˝'ff' Świ 'Redim'
0 0˝'ff' Świ 'DemoShow'
0 0˝'ff' Świ 'SessionFocus' |
| value |
Description: Get or Set the date for the control
Syntax: 'obj' Świ 'value' value
value: either a date in mm dd yyyy or mm dd yy format
or in mm/dd/yy or mm/dd/yyyy format
or in yyyymmdd format
or in Śts format (yyyy mm dd hh mm ss ms)
or '' or Đ or a string containing . blanks and /s
Example:
'ff.dt' Świ 'value'20030724 |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TDateTime5
Example:
'obj' Świ '*Create' 'TDateTime5'
|
|
| Description Inheritance Example Properties Methods |
| |
|