title: Form Control Classes TOCTitle: Form Control Classes ms:assetid: 57bd9381-d528-4381-ab05-b8bd72d3ff1b ms:mtpsurl: https://msdn.microsoft.com/en-us/library/Aa606405(v=AX.60) ms:contentKeyID: 35244334 ms.date: 05/18/2015 mtps_version: v=AX.60
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
A system class exists for each type of form control. You use the methods of the form control system classes to work with controls by using X++ code. If you use the Application Object Tree (AOT), you can use the Override Method shortcut to see many of the methods for the control. To use the AOT to override a method, you follow these steps:
-
In the AOT, expand the control, and then right-click the Methods node of the control.
-
Click Override Method, and then click the method that you want to override.
The form system classes for controls have names such as Form Controlname Control. For example, FormIntControl, FormTabPageControl, and FormCheckBoxControl. However, there are cases where the ControlName in the Application Object Tree (AOT) and the name of the form control class do not match. For more information about these methods, see Methods on Form Controls.
The following table describes which class contains the methods for manipulating each type of form control.
Form control type |
Class |
---|---|
ActionPane |
|
ActionPaneTab |
|
ActiveX |
|
Animate |
|
Button |
|
ButtonGroup |
|
CheckBox |
|
ComboBox |
|
CommandButton |
|
DateEdit |
|
DropDialogButton |
|
Grid |
|
Group |
|
GuidEdit |
|
HTML |
|
Int64Edit |
|
IntEdit |
|
ListBox |
|
ListView |
|
ManagedHost |
|
MenuItemButton |
|
MenuButton |
|
Progress |
|
RadioButton |
|
RealEdit |
|
ReferenceGroup |
|
SegmentedEntry |
|
Separator |
|
StaticText |
|
StringEdit |
|
Tab |
|
TabPage |
|
Table |
|
TimeEdit |
|
Tree |
|
Window |
Note
You will also find a set of system classes called the form build control classes. The names of these are the same as the classes in the previous table except that they are prefixed with "FormBuild" instead of "Form." The form build classes contain methods that you can use to set the values of the properties for the control.
Overview of Form Control Types
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.