|
|
|
|
- Overview of Toolbar control
- Creating a Toolbar control
- To create a Toolbar control:
- Associating controls with the toolbar
Overview of Toolbar control The Toolbar control is an advanced type of control, linked to a window. A toolbar contains several controls (button, edit control, combo box, ...) allowing the user to quickly start some features of his application. A toolbar can be: - Anchored: the toolbar is "attached" to one of the window borders.
- Floating: the toolbar is an independent window.
The user can change the toolbar status with the mouse. Creating a Toolbar control To create a Toolbar control: - On the "Window" tab, in the "Bars and menus" group, expand "Other bars" and select "Toolbar".
- Click at the desired location to create the control. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu. The different positions allowed for the toolbar (docked or floating) can be configured in the "Details" tab. Caution: No control should be positioned near a toolbar: If controls are positioned near the toolbar currently created (on the left of a horizontal toolbar or below a vertical toolbar), these controls will be automatically moved (and therefore they might disappear) when the user modifies the toolbar position. For example: Associating controls with the toolbar To associate existing controls with the toolbar: Solution 1: Drag and Drop the control to the "Toolbar" control. Solution 2: In the control description ("General" tab), click the "Add" button and select the control that will be added to the toolbar. The selected control is automatically created in the toolbar. To associate new controls with the toolbar: Solution 1: Drag and Drop the control to the "Toolbar" control. Solution 2: In the control description ("General" tab), click the "Add" button and select the type of control that will be added to the toolbar. The selected control is automatically created in the toolbar. To modify it, click the "Edit" button: the description of the new control is displayed.
Related Examples:
|
Unit examples (WINDEV): The Toolbar control
[ + ] Using a Toolbar control
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|