|
|
Visits:
3590
(20 on line)
|
Last Update: Dec 5, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TAboutBox5 Object is used to easily create an application About Box You can specify the application title, the text to be displayed in the About Box, the fonts. The About Box auto adapts its size to the application title and description text. You may specify the margins. An APL+Win icon is displayed. |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TForm5 TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above example was generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TAboutBox5'('icon'aplwin_ico)
'ff'Świ'metrics'40 60 20 20
'ff'Świ'title' 'APL+Win v5.0'
'ff'Świ'text'('© Copyright 2003 APL2000, Inc.',Śtcnl,'The Best Development System So Far')
'ff'Świ'Show'
'ff'Świ'metrics'20 90 20 100
'ff'Świ'fonttitle' 'Verdana'22 1
'ff'Świ'fonttext' 'Verdana'12 1
'ff'Świ'web' 'http://www.lescasse.com' © ELE14feb05 added
'ff'Świ'title' 'APL+Win v5.0'
'ff'Świ'text'('© Copyright 2003 APL2000, Inc.',Śtcnl,'The Best Development System So Far')
'ff'Świ'Show'
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| class |
Description: Return current object class
Syntax: class„'obj' Świ 'class' |
| fonttext |
Description: Gets or Sets the text font
Syntax: 'obj' Świ 'fonttext' {font}
font: a valid APL font specification
Example:
'ff' Świ 'fonttext' 'Arial'10 1 |
| fonttitle |
Description: Gets or Sets the title font
Syntax: 'obj' Świ 'fonttitle' {font}
font: a valid APL font specification
Example:
'ff' Świ 'fonttitle' 'Arial'14 1 |
| help |
Example:
0 0˝'ff' Świ '*Create' 'TAboutBox5' ('icon'aplwin_ico)
'ff' Świ 'metrics'40 60 20 20
'ff' Świ 'title' 'APL+Win v5.0'
'ff' Świ 'text' ('© Copyright 2003 APL2000, Inc.',Śtcnl,'The Best Development System So Far')
'ff' Świ 'Show'
'ff' Świ 'metrics'20 90 20 100
'ff' Świ 'fonttitle' 'Verdana'22 1
'ff' Świ 'fonttext' 'Verdana'12 1
'ff' Świ 'web' 'http://www.lescasse.com' © ELE14feb05 added
'ff' Świ 'title' 'APL+Win v5.0'
'ff' Świ 'text' ('© Copyright 2003 APL2000, Inc.',Śtcnl,'The Best Development System So Far')
'ff' Świ 'Show' |
| icon |
Description: Sets the application icon in the About dialog box or return its file name
Syntax: 'obj' Świ 'icon' {iconfilename}
iconfilename: a complete DOS icon file name
or: an icon handle (example: 'res' Świ 'ResLoad'aplwin_ico)
Example:
'ff' Świ 'icon' (('oo5' Świ 'installdir'),'aplwin.ico')
'ff' Świ 'icon'aplwin_ico |
| metrics |
Description: Gets or Sets the metrics property
Syntax: 'obj' Świ 'metrics' {metrics}
metrics[1]: distance in pixels from top of form to title (default: 40)
metrics[2]: distance in pixels from left of form to text (default: 60)
metrics[3]: distance in pixels between text and OK button (default: 60)
metrics[4]: extra thick line length (default: 40)
Example:
'ff' Świ 'metrics'40 60 60 |
| support |
Description: Gets or Sets the support Email link
Syntax: 'object' Świ 'web' {support}
support: an Email address starting with 'mailto:
Note:
The <support> property is only taken in account if the <text> property is also set and set after the <support> property
Example:
'ff' Świ 'web' 'mailto:support@lescasse.com' |
| text |
Description: Get or set the About box text
Syntax: 'obj' Świ 'text' {aboutboxtext}
aboutboxtext: a Śtcnl delimited text |
| title |
Description: Get or set the About box title
Syntax: 'obj' Świ 'title' {aboutboxtitle}
aboutboxtitle: a character string |
 |
| web |
Description: Gets or Sets the software Web Site
Syntax: 'object' Świ 'web' {Website}
website: the web site URL
Note:
The <web> property is only taken in account if the <text> property is also set and set after the <web> property
Example:
'ff' Świ 'web' 'http://www.lescasse.com' |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TAboutBox5
Example:
'obj' Świ '*Create' 'TAboutBox5'
|
|
| Description Inheritance Example Properties Methods |
| |
|