Difference between revisions of "Menu"
From Lianjapedia
Yvonne.milne (Talk | contribs) (Created page with "Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. ====Properties==== This class supports the [[:Category:Commo...") |
Helen.george (Talk | contribs) |
||
Line 10: | Line 10: | ||
!Value | !Value | ||
!width="50%"|Description | !width="50%"|Description | ||
+ | |- | ||
+ | |Caption | ||
+ | |RW | ||
+ | |Character | ||
+ | |Text displayed in the caption | ||
|- | |- | ||
|} | |} | ||
Line 22: | Line 27: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
+ | |valign="top"|AddObject | ||
+ | |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 | ||
+ | |- | ||
+ | |AddSeparator | ||
+ | |None | ||
+ | |Add a separator line | ||
+ | |- | ||
+ | |Clear | ||
+ | |None | ||
+ | |Clear the menu | ||
+ | |- | ||
+ | |||
|} | |} | ||
Revision as of 11:17, 15 January 2013
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 |
---|