FFormInput Documentation
Author: Martijn de Visser - http://www.martijndevisser.com
Last Modified: 12/05/03 14:52:18
Summary
FFormInput Class:
FFormInput Properties:
FFormInput class
version: 0.2.0
description:
Extends FFormLabel
Use this class to display editable textfileds in your forms.
Please note: all parameters must be passed as members of a single initialization object. This will be taken care of automatically when used in a FForm.
usage:
This example will place a FFormInput on the stage:
this.attachMovie("FFormInput", instancename, depth, { label : "this is an editable textfield" } )
parameters:
- label (String); The text to be displayed.
- selectable (Boolean); Indicates if the displayed text is selectable. Default is
false. - font (String); Font to use. Default is "_sans".
- embed (Boolean); Indicates if the specified font is an embedded font. Default is
false. - size (Number); Point size of the font. Default is 10.
- border (Boolean); Indicates if a border should be displayed around the textfield. Default is
false. - background (Boolean); Indicates if a background should be displayed under the textfield. Default is
false. - color (Number); Color of the font. Default is 0x000000.
- borderColor (Number); Color of the border around the textfield. Default is 0x000000.
- backgroundColor (Number); Color of the background of the textfield. Default is 0xffffff.
- witdh (Number); Maximum width of the label. Label will not wrap if width is not specified.
FFormInput Properties:
value
(String) Sets or gets the text to be displayed.