|
|
|
|
|
- Overview
- Window control
- Creating an Organization Chart control
- Description of an Organization chart
- Control options
- Customize the element area: color, translation, etc.
- Modes for filling an Organization Chart control
- Printing an organization chart
- Automatic Application Features (AAF) for an Organization Chart control
The Organization Chart control
Window control The Organization Chart control is used to represent elements in a hierarchical way. For example: - the contributors of a company according to their position.
- the different branches of a group with their inter-dependencies.
- the different steps of a manufacturing process, ...
Creating an Organization Chart control To create an Organization Chart control: - On the "Creation" tab, in the "Graphic controls" group, click "Organization chart".
- Click at the desired location to create the control. The Organization Chart control creation wizard starts. Select the different control characteristics and validate. The control is automatically created.
Note: The dimensions of the field created are optimized to occupy the space available at the position indicated.. If the field size doesn't suit you, use the Ctrl + Z key combination: the field will return to its default size.To view the characteristics of the control, select "Description" in the context menu. Description of an Organization chart Control options The Organization Chart control can be configured in the editor via the description window ("General" tab). The parameters of the organization chart are as follows: - Orientation: The flowchart can be displayed horizontally (left to right or right to left) or vertically (top to bottom or bottom to top)..
- Arrow type: The arrow can point to child elements, point to the parent element or point in both directions..
- Internal windows for the elements: Internal window for customizing the appearance of flowchart elements (see below)..
- Minimum width and height of elements Minimum size of Organization Chart control elements.
- Move over several rows from. If the number of elements is greater than the number specified, the elements will be displayed over several lines (or columns depending on the orientation of control).
Customize the element area: color, translation, etc. In the Organization Chart control, each element is displayed in a specific area. This area can be translated and customized: title color, element background color, etc. To customize the display of elements: - Open the Organization Chart control description window.
- On the "General" tab, select the internal window used for the elements:
- "None": the default display will be used.
- "Preset window":
If this option is selected, the WDAAF internal component is immediately added to the current project. The "IW_WinDevViewOrgElement" internal window is automatically associated to the "Internal windows for the elements" option. Note: If the WDFAA component already exists, only the window is added to the component. - an existing internal window of your project.
- If necessary, validate the control description window.
Remarks: - The custom internal window is available in the "Project explorer" pane, in the "Internal components" folder. It can be edited in the window editor.
- If you are using an internal window of your project, this internal window must manage the display of the element characteristics in the different controls of this internal window. For more details, see the declaration code of the global variables found in the preset internal window.
Modes for filling an Organization Chart control An Organization Chart control can be filled: Printing an organization chart To print an Organization Chart control: - the end user can select an option in the context menu to save the organization chart as an image (Automatic Application Feature). Then, they will have the ability to print this image.
- through programming, OrgSaveImage is used to create the image of the organization chart in an image file. Then, the application can print the image via a report, send it it by email, etc.
Automatic Application Features (AAF) for an Organization Chart control The Organization Chart control includes several AAFs (Automatic Application Features). The user can: - zoom by using the "Ctrl + mouse wheel" shortcut.
- move in the organization chart with the mouse.
- use the "range sliders" available on the sides of the control to zoom and move.
- save the organization chart in an image (to print it for example) via the context menu of the control.
Related Examples:
|
Training (WINDEV): WD Flowchart
[ + ] This example is used to create organization charts. An organization chart is used to indicate the repartition of the managers within a company and the relationships that exist between these managers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|