This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
built_in:layouts [2015/09/12 06:55] stevegarman [Methods corrected GetType] |
built_in:layouts [2018/12/07 18:02] administrator old revision restored (2018/07/21 20:21) |
||
---|---|---|---|
Line 10: | Line 10: | ||
Create layouts using the **CreateLayout** function of the [[built_in: | Create layouts using the **CreateLayout** function of the [[built_in: | ||
- | < | + | < |
Add child objects to a layout using the **AddChild** function of the layout object. | Add child objects to a layout using the **AddChild** function of the layout object. | ||
- | < | + | < |
The alignment of child objects within a layout can be set by adding the options **" | The alignment of child objects within a layout can be set by adding the options **" | ||
Line 174: | Line 174: | ||
^ Method | ^ Method | ||
| Layout.AddChild( child,order ) | child is the object to add to the Layout. Order is the rang option to make an object behind an other Object. | | Layout.AddChild( child,order ) | child is the object to add to the Layout. Order is the rang option to make an object behind an other Object. | ||
- | | Layout.Animate( type, | + | | Layout.Animate( type, callback, time ) | known types: SlideFromLeft,SlideFromRight,SlideFromTop,SlideFromBottom, |
| Layout.ChildToFront( child ) | | Layout.ChildToFront( child ) | ||
| Layout.Destroy() | | Layout.Destroy() | ||
Line 185: | Line 185: | ||
| Layout.GetType() | | Layout.GetType() | ||
| Layout.GetVisibility() | | Layout.GetVisibility() | ||
- | | Layout.GetWidth() | + | | Layout.GetWidth() |
- | | Layout.Release() | + | | Layout.SetOnTouch( callback ) |Does not work in ' |
+ | | Layout.SetOnTouchDown( callback ) |only OnTouchDown works when in ' | ||
+ | | Layout.SetOnTouchMove( callback ) |Does not work in ' | ||
+ | | Layout.SetOnTouchUp( callback ) |Does not work in ' | ||
+ | | Layout.Release() | ||
| Layout.RemoveChild( child ) | This removes a Child of an Layout, this Child can be added again with Layout.AddChild( child ). | | | Layout.RemoveChild( child ) | This removes a Child of an Layout, this Child can be added again with Layout.AddChild( child ). | | ||
| Layout.SetBackColor( colorCode ) | This sets the Background Color of an Layout. | | Layout.SetBackColor( colorCode ) | This sets the Background Color of an Layout. |