WinForm properties
WinForms that are added to a Visual Studio Tools for Microsoft Dynamics GP project have several additional properties that control their appearance. Setting these properties correctly helps match the appearance of Microsoft Dynamics GP. These properties are:
- AutoSetDexColors
- ControlArea
- StatusArea
Hint: These WinForm properties are found in the "Dexterity" group in the Properties pane in Visual Studio.
AutoSetDexColors
The AutoSetDexColors property controls whether the colors used for the WinForm will automatically match the color scheme selected in the user preferences within Microsoft Dynamics GP. Set this property to True to match the Microsoft Dynamics GP appearance.
ControlArea
The ControlArea property specifies whether the band called the control area is drawn at the top of the WinForm. In standard Microsoft Dynamics GP windows, controls such as Save, Clear, and Delete buttons are placed in the control area. Set this property to True to display the control area for a WinForm.
StatusArea
The StatusArea property specifies whether the band called the status area is drawn at the bottom of the WinForm. A divider line is drawn across the bottom of the WinForm to indicate the status area. In standard Microsoft Dynamics GP windows, controls like browse buttons, note buttons, and help buttons are placed in the status area. Set this property to True to display the status area for a WinForm.