Difference between revisions of "Menu"
From Lianjapedia
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 29: | Line 29: | ||
|valign="top"|AddObject | |valign="top"|AddObject | ||
|valign="top"|existing as Object | newobject as Character, class as Character | |valign="top"|existing as Object | newobject as Character, class as Character | ||
− | |valign="top"|Add an existing MenuItem object or a new MenuItem object, in which case the MenuItem class must also be specified | + | |valign="top"|Add an existing MenuItem object or a new [[MenuItem]] object, in which case the MenuItem class must also be specified |
|- | |- | ||
|AddSeparator | |AddSeparator |
Revision as of 10:53, 19 January 2015
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Caption | RW | Character | Text displayed in the caption |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
AddObject | existing as Object | newobject as Character, class as Character | Add an existing MenuItem object or a new MenuItem object, in which case the MenuItem class must also be specified |
AddSeparator | None | Add a separator line |
Clear | None | Clear the menu |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|