Difference between revisions of "Popupmenu"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
+ | |||
====Properties==== | ====Properties==== | ||
Line 11: | Line 13: | ||
|Caption | |Caption | ||
|RW | |RW | ||
− | | | + | |Character |
− | | | + | |Text associated with popupmenu |
|- | |- | ||
|} | |} | ||
Line 25: | 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 object or a new object, in which case the object's class must also be specified |
|- | |- | ||
− | | | + | |AddSeparator |
− | | | + | |None |
− | | | + | |Add a horizontal separator line |
|- | |- | ||
|Clear | |Clear | ||
− | | | + | |None |
− | | | + | |Clear the menu |
|- | |- | ||
|} | |} |
Revision as of 08:17, 9 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 associated with popupmenu |
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 object or a new object, in which case the object's class must also be specified |
AddSeparator | None | Add a horizontal separator line |
Clear | None | Clear the menu |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|