FormControl Class

The FormControl class serves as the base class for all form controls.

Syntax

class FormControl extends Object

Run On

Client

Methods

  Method Description
Gg857551.pubmethod(en-us,AX.60).gif alignControl Determines whether the control should be aligned.
Gg857551.pubmethod(en-us,AX.60).gif allowEdit Determines whether the user can modify the contents of the control.
Gg857551.pubmethod(en-us,AX.60).gif allowSysSetup Retrieves a value that indicates whether the control is shown in the SysSetup form.
Gg857551.pubmethod(en-us,AX.60).gif autoDeclaration Determines whether the system can declare a member variable that has the same name as the control.
Gg857551.pubmethod(en-us,AX.60).gif beginDrag Is called when the user starts to drag a form control.
Gg857551.pubmethod(en-us,AX.60).gif calcControlSize Retrieves the size of the control.
Gg857551.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif configurationKey Gets or sets the configuration key that is assigned to the control.
Gg857551.pubmethod(en-us,AX.60).gif configurationKeyEx Retrieves a list that contains the IDs of configuration keys that are in effect for the control.
Gg857551.pubmethod(en-us,AX.60).gif containerId Retrieves the ID of the parent container for the control.
Gg857551.pubmethod(en-us,AX.60).gif context Shows the shortcut menu for the control.
Gg857551.pubmethod(en-us,AX.60).gif copy Copies the contents of the control to the clipboard.
Gg857551.pubmethod(en-us,AX.60).gif countryRegionCodes Gets or sets the comma-separated list of country/region codes for the control.
Gg857551.pubmethod(en-us,AX.60).gif cut Cuts the contents of the control.
Gg857551.pubmethod(en-us,AX.60).gif dataRelationPath Gets or sets the period-delimited list of relations that links the field binding of the DataField object to a relative table.
Gg857551.pubmethod(en-us,AX.60).gif dataSourceObject
Gg857551.pubmethod(en-us,AX.60).gif displayControl Displays the control.
Gg857551.pubmethod(en-us,AX.60).gif displayTarget Gets or sets the value that indicates whether the control is displayed in the Microsoft Dynamics AX client, in Enterprise Portal for Microsoft Dynamics AX, or in both.
Gg857551.pubmethod(en-us,AX.60).gif dragDrop Determines whether drag-and-drop operations are enabled or disabled for the control.
Gg857551.pubmethod(en-us,AX.60).gif dragLeave Raises the dragLeave event to indicate that a mouse drag operation has left the current control.
Gg857551.pubmethod(en-us,AX.60).gif dragOver Raises the dragOver event to indicate that a mouse drag operation is over the current control.
Gg857551.pubmethod(en-us,AX.60).gif dragOverEx Raises the dragOverEx event to indicate that a mouse drag operation is over the current control.
Gg857551.pubmethod(en-us,AX.60).gif dragText Retrieves the text that is displayed when the form control is dragged.
Gg857551.pubmethod(en-us,AX.60).gif drop Raises the drop event to indicate that a drop operation is being performed on the current control.
Gg857551.pubmethod(en-us,AX.60).gif dropEx Raises the dropEx event to indicate that a drop operation is being performed on the current control.
Gg857551.pubmethod(en-us,AX.60).gif enabled Determines whether the object is enabled or disabled.
Gg857551.pubmethod(en-us,AX.60).gif endDrag Is called when the user has finished dragging a form control.
Gg857551.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif fieldBinding Retrieves the table and field bindings of the control into a FieldBinding derived class.
Gg857551.pubmethod(en-us,AX.60).gif formRun
Gg857551.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif gotFocus Indicates that the control has received focus.
Gg857551.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif hasChanged Sets or returns a value that indicates whether the contents of the control have changed.
Gg857551.pubmethod(en-us,AX.60).gif hasUserSetting Indicates whether the control has custom user settings.
Gg857551.pubmethod(en-us,AX.60).gif height Gets or sets the height of the control.
Gg857551.pubmethod(en-us,AX.60).gif heightMode Gets or sets a calculation mode for the height of the control.
Gg857551.pubmethod(en-us,AX.60).gif heightValue Gets or sets the height of the control.
Gg857551.pubmethod(en-us,AX.60).gif helpField Retrieves the Help text for the control.
Gg857551.pubmethod(en-us,AX.60).gif helpText Gets or sets the Help text that is displayed at the bottom of the screen when a field or control is pointed to.
Gg857551.pubmethod(en-us,AX.60).gif hierarchyParent Gets or sets the HierarchyParent property value of the control.
Gg857551.pubmethod(en-us,AX.60).gif hWnd Retrieves the Windows handle for the control.
Gg857551.pubmethod(en-us,AX.60).gif id Retrieves the ID of the control.
Gg857551.pubmethod(en-us,AX.60).gif inputSearch Performs data filtering for the control, based on the specified string.
Gg857551.pubmethod(en-us,AX.60).gif isDisplayed Retrieves a value that indicates whether the control is displayed.
Gg857551.pubmethod(en-us,AX.60).gif isRestricted Retrieves a value that indicates whether the control is restricted.
Gg857551.pubmethod(en-us,AX.60).gif isUserSetupEnabled Retrieves a value that indicates whether the control allows for the specified level of customization.
Gg857551.pubmethod(en-us,AX.60).gif isVisible Retrieves a value that indicates whether the control is visible.
Gg857551.pubmethod(en-us,AX.60).gif labelText Retrieves the label text for the control.
Gg857551.pubmethod(en-us,AX.60).gif left Gets or sets the horizontal position of the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif leftMode Sets the horizontal arrange mode for the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif leftValue Gets or sets the horizontal position of the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif lock Locks the form control.
Gg857551.pubmethod(en-us,AX.60).gif lockWindowUpdate Locks or unlocks the window of the control for update.
Gg857551.pubmethod(en-us,AX.60).gif lostFocus Indicates that the control has lost focus.
Gg857551.pubmethod(en-us,AX.60).gif markAsUserAdd Marks or unmarks the control as a user-added control.
Gg857551.pubmethod(en-us,AX.60).gif mouseDblClick Is called when the control is double-clicked by the user.
Gg857551.pubmethod(en-us,AX.60).gif mouseDown Is called when the user clicks the mouse button over the control.
Gg857551.pubmethod(en-us,AX.60).gif mouseEnter Is called when the user moves the mouse pointer into the control area.
Gg857551.pubmethod(en-us,AX.60).gif mouseLeave Indicates that the mouse pointer has left the control.
Gg857551.pubmethod(en-us,AX.60).gif mouseMove Is called when the user moves the mouse pointer over the control.
Gg857551.pubmethod(en-us,AX.60).gif mouseUp Is called when the user releases the mouse button over the control area.
Gg857551.pubmethod(en-us,AX.60).gif name Gets or sets the name that is used in code to identify a form, report, table, query, or other Microsoft Dynamics AX application object.
Gg857551.pubmethod(en-us,AX.60).gif neededPermission
Gg857551.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg857551.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.)
Gg857551.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.)
Gg857551.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif packUserSetting Packs the user settings for the control.
Gg857551.pubmethod(en-us,AX.60).gif parentControl Retrieves the parent control for the control.
Gg857551.pubmethod(en-us,AX.60).gif paste Pastes the contents of the clipboard into the control.
Gg857551.pubmethod(en-us,AX.60).gif prefColumnSize Specifies the preferred column width and height for the form control.
Gg857551.pubmethod(en-us,AX.60).gif resetUserSetting Resets the user settings for the control.
Gg857551.pubmethod(en-us,AX.60).gif securityKey Sets or returns the ID of the security key for the control.
Gg857551.pubmethod(en-us,AX.60).gif setFocus Sets the focus on the control.
Gg857551.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif showContextMenu Shows the shortcut menu for the control.
Gg857551.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.
Gg857551.pubmethod(en-us,AX.60).gif toolTip Retrieves the tooltip text for the control.
Gg857551.pubmethod(en-us,AX.60).gif top Gets or sets the vertical position of the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif topMode Sets the vertical arrange mode for the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif topValue Gets or sets the vertical position of the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif type
Gg857551.pubmethod(en-us,AX.60).gif unLock Unlocks a form control.
Gg857551.pubmethod(en-us,AX.60).gif unpackUserSetting Unpacks the user settings for the control.
Gg857551.pubmethod(en-us,AX.60).gif update Updates the control.
Gg857551.pubmethod(en-us,AX.60).gif updateWindow Updates the window for the control.
Gg857551.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.)
Gg857551.pubmethod(en-us,AX.60).gif userData Gets or sets the user data for the control.
Gg857551.pubmethod(en-us,AX.60).gif userDataItem Gets or sets the user data item for the control.
Gg857551.pubmethod(en-us,AX.60).gif userDataItems Gets or sets the number of user data items for the control.
Gg857551.pubmethod(en-us,AX.60).gif userDisable Gets or sets the value that indicates whether the control is disabled for the user.
Gg857551.pubmethod(en-us,AX.60).gif userHeight Gets or sets the custom user height for the control.
Gg857551.pubmethod(en-us,AX.60).gif userHide Gets or sets the value that indicates whether the control is hidden from the user.
Gg857551.pubmethod(en-us,AX.60).gif userOrgContainer Gets or sets the organization container for the control.
Gg857551.pubmethod(en-us,AX.60).gif userOrgSibling Gets or sets the organization sibling for the control.
Gg857551.pubmethod(en-us,AX.60).gif userPromptText Gets or sets the user label text for the control.
Gg857551.pubmethod(en-us,AX.60).gif userSecurityLevel Gets or sets the user security level for the control.
Gg857551.pubmethod(en-us,AX.60).gif userSkip Sets or returns the value that indicates whether the form control is skipped when the user presses the TAB key to navigate the controls in the form.
Gg857551.pubmethod(en-us,AX.60).gif userWidth Sets or returns the width of the control in pixels.
Gg857551.pubmethod(en-us,AX.60).gif valueStr Retrieves the value of the control in string format.
Gg857551.pubmethod(en-us,AX.60).gif verticalSpacing Gets or sets the vertical spacing of the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif verticalSpacingMode Sets the vertical spacing mode for the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif verticalSpacingValue Gets or sets the vertical spacing of the control in the form.
Gg857551.pubmethod(en-us,AX.60).gif visible Sets or returns a value that indicates whether the control is visible.
Gg857551.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg857551.pubmethod(en-us,AX.60).gif width Gets or sets the width of the control.
Gg857551.pubmethod(en-us,AX.60).gif widthMode Gets or sets the calculation mode of the width of the control.
Gg857551.pubmethod(en-us,AX.60).gif widthValue Gets or sets the width of the control.
Gg857551.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

You should not create an instance of this class. Use the specific control instead.

Inheritance Hierarchy

Object Class
  FormControl Class
    FormActionPaneControl Class
    FormActionPaneTabControl Class
    FormActiveXControl Class
    FormAnimateControl Class
    FormButtonControl Class
    FormButtonGroupControl Class
    FormButtonSeparatorControl Class
    FormCheckBoxControl Class
    FormComboBoxControl Class
    FormCommandButtonControl Class
    FormDateControl Class
    FormDateTimeControl Class
    FormDropDialogButtonControl Class
    FormFastTabHeaderControl Class
    FormFastTabSummarySeparator Class
    FormFilterPaneControl Class
    FormFunctionButtonControl Class
    FormGridControl Class
    FormGroupControl Class
    FormGuidControl Class
    FormHTMLControl Class
    FormInt64Control Class
    FormIntControl Class
    FormListBoxControl Class
    FormListControl Class
    FormManagedHostControl Class
    FormMenuButtonControl Class
    FormProgressControl Class
    FormRadioControl Class
    FormRealControl Class
    FormReferenceControl Class
    FormRichTextControl Class
    FormStaticTextControl Class
    FormStringControl Class
    FormTabControl Class
    FormTableControl Class
    FormTabPageControl Class
    FormTimeControl Class
    FormTreeControl Class
    FormWindowControl Class