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
Gg857716.pubmethod(en-us,AX.60).gif allowAdd Sets or returns the value of the allowAdd property for the form data object.
Gg857716.pubmethod(en-us,AX.60).gif allowEdit Determines whether the user can modify the contents of the control.
Gg857716.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif context (Overrides the context Method.)
Gg857716.pubmethod(en-us,AX.60).gif dataChanged
Gg857716.pubmethod(en-us,AX.60).gif dataField
Gg857716.pubmethod(en-us,AX.60).gif datasource
Gg857716.pubmethod(en-us,AX.60).gif enabled Determines whether the object is enabled or disabled.
Gg857716.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif fieldId
Gg857716.pubmethod(en-us,AX.60).gif filter
Gg857716.pubmethod(en-us,AX.60).gif find (Overrides the find Method.)
Gg857716.pubmethod(en-us,AX.60).gif getAllowEdit (Inherited from FormObject.)
Gg857716.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif getValue (Inherited from FormObject.)
Gg857716.pubmethod(en-us,AX.60).gif getVisible (Inherited from FormObject.)
Gg857716.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif helpField Returns the Help text for the control. (Overrides the helpField Method.)
Gg857716.pubmethod(en-us,AX.60).gif jumpRef (Overrides the jumpRef Method.)
Gg857716.pubmethod(en-us,AX.60).gif labelText Returns the label text for the control. (Overrides the labelText Method.)
Gg857716.pubmethod(en-us,AX.60).gif lookup
Gg857716.pubmethod(en-us,AX.60).gif mandatory Sets or returns a value that indicates whether the data field is mandatory.
Gg857716.pubmethod(en-us,AX.60).gif modified Indicates that the field has been successfully validated and modified in the current record. (Overrides the modified Method.)
Gg857716.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif performFormLookup
Gg857716.pubmethod(en-us,AX.60).gif registerOverrideMethod
Gg857716.pubmethod(en-us,AX.60).gif restore (Overrides the restore Method.)
Gg857716.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif setValue (Inherited from FormObject.)
Gg857716.pubmethod(en-us,AX.60).gif 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.
Gg857716.pubmethod(en-us,AX.60).gif toolTip (Overrides the toolTip Method.)
Gg857716.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif validate (Overrides the validate Method.)
Gg857716.pubmethod(en-us,AX.60).gif visible Sets or returns a value that indicates whether the control is visible.
Gg857716.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg857716.pubmethod(en-us,AX.60).gif 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

See Also

FormDataSource.object Method