|
|
Visits:
2331
(55 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TDisplay5 Object is a simple form used to display text data.
It contains a command bar and a print button. It is useful whenever you need
to quickly display a character vector or matrix in an APL+Win application. |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TForm5 TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TDisplay5'('*size'500 600)('file' 'c:\aplwin40\readme.txt')'Show'
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| class |
Description: Return current object class
Syntax: class„'obj' Świ 'class' |
| file |
Description: A file name of a file to display in the TDisplay5 object |
| fixed |
Description: Get or set a fixed Courier New font for the TEdit5 control
Syntax: 'obj' Świ 'fixed' {fontsize}
fontsize: a size or 0 if no fixed font
Example: 'fmDisplay' Świ 'fixed'8 |
| help |
Example:
0 0˝'ff' Świ '*Create' 'TDisplay5' ('*size'500 600) ('file' 'c:\aplwin40\readme.txt') 'Show' |
| text |
Description: Text to be displayed in the TDisplay5 object |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| IsPrinter |
Description: it„IsPrinter name -- Determine if a given printer exists |
| New |
Description: Create a new instance of TDisplay5
Example:
'obj' Świ '*Create' 'TDisplay5'
|
| Print |
Description: Print the whole Edit control content
„b Print text;n;Śio
osition„[size][flush] Print text -- Send APL text to the printer
ize=scale factor (default 1)
lush=0 no op (default), 1=force print & reopen, 2 force printing by deleting
esult=final position on page, page size (each height, width) in chars |
|
| Description Inheritance Example Properties Methods |
| |
|