Compartilhar via


FormDataObject Class

Definition

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.

public ref class FormDataObject : Dynamics::AX::Application::FormObject
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
public class FormDataObject : Dynamics.AX.Application.FormObject
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
type FormDataObject = class
    inherit FormObject
Public Class FormDataObject
Inherits FormObject
Inheritance
Microsoft.Dynamics.AX.KernelInterop.ProxyBase
FormDataObject
Derived
Attributes

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.

Constructors

FormDataObject()
FormDataObject(IntPtr)

Fields

__k_FormDataObjectId
kernelClass (Inherited from XppObjectBase)

Methods

__shouldCallNew(Type) (Inherited from XppObjectBase)
addXppProxyReference(Type, Object) (Inherited from XppObjectBase)
allowAdd()

Sets or returns the value of the allowAdd property for the form data object.

allowAdd(Int32)
allowEdit()

Determines whether the user can modify the contents of the control.

allowEdit(Boolean)
Call(String, Object[], Type[], Object[]) (Inherited from XppObjectBase)
cancelTimeOut(Int32) (Inherited from XppObjectBase)
context()
createKernelClass(Object[], Type[], Object[]) (Inherited from XppObjectBase)
dataChanged()
dataField()
dataField(Int32)
datasource()
editAutoPostback()
editAutoPostback(Boolean)
EDTReturnType() (Inherited from FormObject)
emptyCoCState(String)
enabled()

Determines whether the object is enabled or disabled.

enabled(Boolean)
equal(XppObjectBase) (Inherited from XppObjectBase)
executeCancelableEvent(FormDataFieldEventHandler, FormDataFieldCancelEventArgs, Boolean)
fieldId()
filter()
filter(String, NoYes)
filter(String)
finalize() (Inherited from XppObjectBase)
find()
formRun()
getAllowEdit() (Inherited from FormObject)
getAllowEdit(Int32) (Inherited from FormObject)
getCoCState(String)
getFormRootName()
getFormRun()
GetIntPtr() (Inherited from XppObjectBase)
GetKernelInstanceUniqueId() (Inherited from XppObjectBase)
getTimeOutTimerHandle() (Inherited from XppObjectBase)
getValue() (Inherited from FormObject)
getValue(Int32) (Inherited from FormObject)
getVisible() (Inherited from FormObject)
getXppProxyReference(Type) (Inherited from XppObjectBase)
handle()
hasManagedOnJumpRefHandlers()
helpField()

Returns the Help text for the control.

IsManagedValid() (Inherited from XppObjectBase)
jumpRef()
kernelhandle()
KernelInstanceDisposed() (Inherited from XppObjectBase)
labelText()

Returns the label text for the control.

lookup(FormControl, String)
lookupReference()
lookupReference(FormReferenceControl)
MakeReflectionCall(String, Object[]) (Inherited from XppObjectBase)
mandatory()

Sets or returns a value that indicates whether the data field is mandatory.

mandatory(Boolean)
modified()

Indicates that the field has been successfully validated and modified in the current record.

nestedElementName()
newmethod() (Inherited from XppObjectBase)
notify() (Inherited from XppObjectBase)
notifyAll() (Inherited from XppObjectBase)
objectOnServer()
Obsolete.
(Inherited from XppObjectBase)
performFormLookup(xFormRun, FormControl)
registerOverrideMethod(String, String, XppObjectBase)
registerOverrideMethod(String, String)
resolveAmbiguousReference()
resolveAmbiguousReference(FormControl)
resolveReference()
resolveReference(FormReferenceControl)
restore()
setNames(String, String)
setTimeOut(String, Int32, Boolean)
Obsolete.
(Inherited from XppObjectBase)
setTimeOut(String, Int32)
Obsolete.
(Inherited from XppObjectBase)
setValue(Object) (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.

skip(Boolean)
toolTip()
usageCount() (Inherited from XppObjectBase)
validate()
VerifyKernelClass() (Inherited from XppObjectBase)
visible()

Sets or returns a value that indicates whether the control is visible.

visible(Boolean)
wait() (Inherited from XppObjectBase)
Xml() (Inherited from XppObjectBase)
Xml(Int32) (Inherited from XppObjectBase)

Events

OnJumpRef
OnModified
OnValidated
OnValidating

Explicit Interface Implementations

IHasImplementationClass._impl() (Inherited from FormObject)

Applies to