Main Page | Packages | Class Tree | Index | Help

xp.system

class FormSizer

MovieClip
  |
  +--xp.system.FormSizer


class FormSizer
extends MovieClip

Provides an author time size framework for a form

When laying out forms or containers at author time it can be useful to mark out the desired client area of the form.
Forms or container loaded from the library will size to fit their content unless explcitily set in the Forms class file
This can produce an undesirable size
A sizer allows you to fix the Forms size at Auithor time independent of its actual content. At run time this will be used to initialise the dimensions of a form
This control is not visible at run time.
At author time place this control on its own layer, whne you dont need to see it make the layer hidden.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public
gridColor: Number
The color of the grid dots

public
spacing
The spacing between the grid dots

Constructor

public
FormSizer ( )
Constructs a new instance of the FormsSizer. Do not call-FormSizers are only intended to be instantiated at author time via placing on the stage.
At run time the same functionality is avaible by setting the container minWidth and minHeight properties


Method Summary

public
setSize ( w: Number, h: Number ): Void
Sets the width and height of the client are of the sizer



Field Documentation

gridColor

public var gridColor: Number
The color of the grid dots

spacing

public var spacing
The spacing between the grid dots


Constructor Documentation

FormSizer

public function FormSizer()
Constructs a new instance of the FormsSizer. Do not call-FormSizers are only intended to be instantiated at author time via placing on the stage.
At run time the same functionality is avaible by setting the container minWidth and minHeight properties


Method Documentation

setSize

public function setSize(w: Number,
 h: Number): Void
Sets the width and height of the client are of the sizer

Parameters:
w
width
h
height

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc