|
|
Visits:
2292
(15 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TEditMenu5 Object is an object creating a complete Edit menu for your application
with built-in accelerator keys. It uses the <handler> property if you have defined one on the parent form object
to handle the clicks on the menu items.
The <options> property is used to tell which Edit menu items you want to include in your Edit menu
See also: TFileMenu5 TGoMenu5 THelpMenu5 TMenu5 TPopupMenu5 TToolsMenu5 TViewMenu5 TWinMenu5 |
| 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' 'TEditMenu5 Demo')('*size'300 400)('handler' 'Test_Handlers')'DemoShow'
'ff'Świ'*.edmenu.Create' 'TEditMenu5'('options' 'default')
|
| |
| 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' 'TEditMenu5 Demo') ('*size'300 400) ('handler' 'Test_Handlers') 'DemoShow'
0 0˝'ff' Świ '*.edmenu.Create' 'TEditMenu5' ('options' 'default')
© Note: the <handler> property must be set on the form, NOT on the TditMenu5 object! |
| options |
Description: Define which options to install in the Edit menu
Syntax: {options„'} 'obj' Świ 'options' {options}
options: 'default' to install all default menu options
'undo' 'redo' 'cut' 'copy' 'paste' 'delete' 'find' 'replace' 'search' 'prefs'
and '-' which represents a separator line
Example:
'ff' Świ '*Create' 'TForm5'
'ff.edmenu' Świ '*Create' 'TEditMenu5' ('options' 'default')
or:
'ff.edmenu' Świ '*Create' 'TEditMenu5' ('undo' 'redo' '-' 'cut' 'copy' 'paste' '-' 'prefs') |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TEditMenu5
Example:
'obj' Świ '*Create' 'TEditMenu5'
|
|
| Description Inheritance Example Properties Methods |
| |
|