|
|
|
|
|
- Properties specific to OrgElement variables
- Functions that use OrgElement variables
OrgElement (Type of variable) In french: OrgaElément
The OrgElement type is used to define the advanced characteristics of an element found in an Organization Chart control. The characteristics of this element can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. // Add elements to the Organization Chart control // Root element ElementCEO is OrgElement ElementCEO.Title = "Big Boss" OrgAdd(ORG_EXECUTIVE, ElementCEO) Â // Child elements Element2 is OrgElement Element2.Title = "Production" OrgAddChild(ORG_EXECUTIVE, 1, Element2) Â Element3 is OrgElement Element3.Title = "Sales" OrgAddChild(ORG_EXECUTIVE, 1, Element3) Remarks Properties specific to OrgElement variables The following properties can be used to handle an element found in an Organization Chart control: | | | Property name | Type used | Effect |
---|
BackgroundColor | Integer or Integer constant | Background color used to display the element. This color can correspond to:If this property is not specified, a color will be automatically calculated.Before version 24, this property was named "BackgroundColor". | BackgroundImage | Character string | Name and full (or relative) path of the image file displayed as background image of the element. A UNC path can be used. | Border | Border | Type of border for the element. | Content | Character string | Text displayed in the border of the element. | FiDrawing | Character string | Name of the internal window used to draw the element. By default, this property corresponds to an empty string (""): the internal window used is the one defined in the editor for the Organization Chart control. | FontContent | Font | Characteristics of the font used to display the content of the element. | FontTitle | Font | Characteristics of the font used to display the title of the element. | ID | All types | Free identifier, used to link the element to a data file for example. | Image | Character string | Name and full (or relative) path of the image file displayed on the left of the element title. A UNC path can be used. | Note | Character string | Used to store user information at runtime. | Orientation90 | Boolean | Used to manage the orientation of the element: therefore, a child can be displayed (or not) on the right of its parent: - True: The child element is displayed on the right of its parent.
- False (default value): The child element is displayed below its parent.
| Title | Character string | Text corresponding to the title of the element. | ToolTip | Character string | Tooltip displayed when the element is hovered. No tooltip is displayed by default. |
Functions that use OrgElement variables | | OrgAdd | Adds a new root element into an Organization Chart control. | OrgAddChild | Adds a child element into an Organization Chart control. | OrgModify | Modifies an element in an Organization Chart control. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|