inherits from Button; inherits interface from FormElement; encodes empty field list;
Class FormButton provides a type of button that can be used on forms. Usually it appears on stationery, such as the install and discard buttons on the postcard created when one user sends a package to another.
Instantiate: sometimes Subclass: rarely Call its methods: rarely
You are unlikely to use objects of class FormButton unless you're creating new stationery objects.
Class FormButton defines the following methods:
| Method | Description |
|---|---|
| FormData | Overridden to copy data from the button to the form |
| FormDataInfo | |
| IsFormElement | Overridden to return true |
| SetFormData | Overridden to copy data from the form to the button |
Class FormButton defines the following fields::
| Field | Type | Description |
|---|---|---|
| Inherited from SingleLinkable | ||
| next | Object | Next item in view list |
| Inherited from Linkable | ||
| previous | Object | Previous item in view list |
| Inherited from Viewable | ||
| superview | Viewable | Container for this object |
| subview | Viewable | Object contained by this object |
| relativeOrigin | Dot | Origin relative to superview |
| contentSize | Dot | Size of content rectangle |
| viewFlags | Unsigned | Property settings |
| labelStyle | TextStyle | Text style of object's label |
| color | Unsigned | Color of object's content |
| altColor | Unsigned | Not used by button |
| shadow | Shadow | Shadow drawn with object |
| sound | Sound | Sound associated with object |
| Inherited from Stamp | ||
| image | Image | Image used to draw stamp |
| Inherited from HasBorder | ||
| border | Border | The button's border |