FormDataObject Class
The FormDataObject class represents the fields, affects how controls that refer to a field are displayed on form data sources, and modifies lookup and validation behavior.
Syntax
class FormDataObject extends FormObject
Run On
Client
Methods
Method | Description | |
---|---|---|
allowAdd | Sets or returns the value of the allowAdd property for the form data object. | |
allowEdit | Determines whether the user can modify the contents of the control. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
context | (Overrides the context Method.) | |
dataChanged | ||
dataField | ||
datasource | ||
enabled | Determines whether the object is enabled or disabled. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
fieldId | ||
filter | ||
find | (Overrides the find Method.) | |
getAllowEdit | (Inherited from FormObject.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
getValue | (Inherited from FormObject.) | |
getVisible | (Inherited from FormObject.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
helpField | Returns the Help text for the control. (Overrides the helpField Method.) | |
jumpRef | (Overrides the jumpRef Method.) | |
labelText | Returns the label text for the control. (Overrides the labelText Method.) | |
lookup | ||
mandatory | Sets or returns a value that indicates whether the data field is mandatory. | |
modified | Indicates that the field has been successfully validated and modified in the current record. (Overrides the modified Method.) | |
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
performFormLookup | ||
registerOverrideMethod | ||
restore | (Overrides the restore Method.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
setValue | (Inherited from FormObject.) | |
skip | Sets or returns a value that indicates whether the control is skipped when the user presses the TAB key to move to the control that is associated with the data source. | |
toolTip | (Overrides the toolTip Method.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validate | (Overrides the validate Method.) | |
visible | Sets or returns a value that indicates whether the control is visible. | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Top
Remarks
By changing the properties, you affect how controls that refer to the field are displayed. Furthermore, if you override the methods on this class, the behavior on lookup and validation can be modified.
By using the properties on the FormDataObject class instead of properties on the individual controls, you make sure that the various representations of the same field are handled consistently. This also makes upgrades easier.
Inheritance Hierarchy
Object Class
FormObject Class
FormDataObject Class
FormReferenceObject Class