|
|
Visits:
2412
(26 on line)
|
Last Update: Dec 22, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TGif5 Object is used to display .GIF graphics and for returning their sizes
TGif5 uses the new APL+Win 5.0 APL2000.Draw object |
| 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' 'TGif5 Example')('*size'500 600)
'ff.gif'Świ'*Create' 'TGif5'('DisplayAlone' 'c:\aplwin40\examples\images\bkgd.gif')
'ff'Świ'*onResize' "'ff.gif'Świ'DisplayAlone'('ff.gif'Świ'*‘gif')"
'ff.gif'Świ'wherelc' '<>' '<>' '°' '°'
'ff'Świ'Show'
|
| |
| 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' 'TGif5 Example') ('*size'500 600)
0 0˝'ff.gif' Świ '*Create' 'TGif5' ('DisplayAlone' 'c:\aplwin40\examples\images\bkgd.gif')
0 0˝'ff' Świ '*onResize' "'ff.gif' Świ 'DisplayAlone' ('ff.gif' Świ '*‘gif')"
0 0˝'ff.gif' Świ 'wherelc' '<>' '<>' '°' '°'
0 0˝'ff' Świ 'Show' |
| size |
Description: Returns the GIF image size in pixels (read-only)
Syntax: (height width)„'obj' Świ 'size' 'giffilename'
giffilename: the complete DOS file name of the .GIF file to display
Example:
'gif' Świ 'size' 'c:\aplwin40\examples\images\bkgd.gif'
400 513 |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| DisplayAlone |
Description: Displays a GIF file in a form with no caption
Syntax: 'obj' Świ 'DisplayAlone' 'giffilename'
giffilename: the complete DOS file name of the .GIF file to display
Example:
0 0˝'gif' Świ '*Create' 'TGif5' ('DisplayAlone' 'c:\aplwin40\examples\images\bkgd.gif') |
| New |
Description: Create a new instance of TGif5
Example:
'obj' Świ '*Create' 'TGif5'
|
|
| Description Inheritance Example Properties Methods |
| |
|