Splitter

From Lianjapedia
Revision as of 08:21, 26 March 2013 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

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
Orientation RW Numeric Orientation: 0 = horizontal, >0 = vertical

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
RemoveObject existing as Object Remove the specified object
SetSizes size1 as Numeric, size2 as Numeric [, ...] Set the initial size of the contained controls/containers
SetStretchFactor size1 as Numeric, size2 as Numeric [, ...] Set the relative size of the contained controls/containers, e.g. setStretchFactor(1,3) would make the first container added take up 25% of the space and the second one 75%.

Events

This class supports the Common Events plus the following:

Event Args Description