The following table summarizes all Microsoft Visual C++ controls supported by Dialog Builder. In addition to the controls in the table below you can also add Origin graph and worksheet controls, bitmap toolbar buttons, images, custom controls, and third party ActiveX controls.
A button initiates an action.
A check box controls the On/Off status of an item.
A combo box provides a text box with an attached list box.
An edit box provides a text box for user input.
The group box can be used to visually define related controls.
A list box provides a list of items the user can select from.
The picture control is used to: 1) Create a placeholder for tabs on a tabbed dialog or a placeholder for pages on a wizard. When you use the Origin Dialog AppWizard to create your tabbed dialog or wizard, the AppWizard automatically adds the Picture control to your main dialog. 2) Create a placeholder for an attached graph (GraphControl) or worksheet (WorksheetControl).
3) Create a toolbar placeholder for bitmap toolbar buttons.
4) Create a placeholder for an image.
5) Create a placeholder for a custom control.
A radio button controls the On/Off status of an item.
To create a radio button group, you must add the radio button controls consecutively to your dialog, tab, or wizard page. This will ensure that the numeric ID values for the radio buttons will be consecutive - a requirement for proper operation. To create a radio button group so that only one radio button can be selected at a time in the group, the first radio button in your group must have the Group check box selected on the General tab of the Radio Button Properties dialog. Additionally, select the Tab Stop check box on this tab to set this radio button as the tab stop for the group.
The Rich Edit control can be used to edit with character and paragraph formatting.
The slider control is often used with an edit box control.
The edit control displays the current value of the slider. On the Styles tab of the Edit Properties dialog, select the Number and the Read-only check boxes.
The spin control should be used with an edit box control.
The spin control provides the up and down arrows that control the display of the value in the associated (non-editable) edit box. You must create the edit box and the spin control sequentially, so that you first create the edit box control and you then create the spin control. This will ensure that the edit box numeric ID value will be one less than the spin control numeric ID value - a requirement for proper operation. When creating a spin control and edit box, you must perform the following: Edit box: On the Styles tab of the Edit Properties dialog, select the Number and the Read-only check boxes. Spin control: On the Styles tab of the Spin Properties dialog, select the Auto Buddy and the Set Buddy Integer check boxes. Additionally, the Spin control must be the TAB stop following the Edit box.
The static text control can be used to add editable labels to your dialog, tabbed dialog, or wizard.