|
|
|
|
|
- Properties specific to OrgElement variables
- Functions that use OrgElement variables
OrgElement (Variable type) In french: OrgaElément
The OrgElement type is used to define the advanced characteristics of an element found in an Organization Chart control. You can define and change the characteristics of this element using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
ElementCEO is OrgElement
ElementCEO.Title = "Big Boss"
OrgAdd(ORG_EXECUTIVE, ElementCEO)
Element2 is OrgElement
Element2.Title = "Production"
OrgAddChild(ORG_EXECUTIVE, 1, Element2)
Element3 is OrgElement
Element3.Title = "Sales"
OrgAddChild(ORG_EXECUTIVE, 1, Element3)
Properties 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. | New in version 2025Extra | Variant | Allows you to store advanced information without affecting the execution of the application. You can store values of any type (array, etc.). It is also possible to add members to the Extra property. Example:
MyVariable.Extra.Info1 = Value MyVariable.Extra[Info2] = Value2 MyVariable.Extra.Date = DateSys() | 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 under 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 element orientation: a son may or may not be to the right of its father: - True: The son element is to the right of its father.
- False (default): The child element is 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. |
Remarks 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|