PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ElementOrientation property is used to get and change the orientation of an Organization Chart control.
Example
IF CBOX_VERTICAL = True THEN
ORG_MyOrganizationChart.ElementOrientation = LeftToRight
ELSE
ORG_MyOrganizationChart.ElementOrientation = TopToBottom
END
Syntax

Finding out the orientation of an Organization Chart control Hide the details

<Result> = <Organization Chart control>.ElementOrientation
<Result>: Integer constant
Current orientation of the control:
BottomToTopThe root element of the organization chart is at the bottom of the control, and its children are at the top.
LeftToRightThe root element of the organization chart is to the left of the control, and its children are to the right.
RightToLeftThe root element of the organization chart is to the right of the control, and its children are to the left.
TopToBottomThe root element of the organization chart is located at the top of control, and its children are at the bottom.
<Organization Chart control>: Control name
Name of Organization Chart control to use.

Modifying the orientation of an Organization Chart control Hide the details

<Organization Chart control>.ElementOrientation = <Orientation>
<Organization Chart control>: Control name
Name of Organization Chart control to use.
<Orientation>: Integer constant
New orientation of the control:
BottomToTopThe root element of the organization chart is at the bottom of the control, and its children are at the top.
LeftToRightThe root element of the organization chart is to the left of the control, and its children are to the right.
RightToLeftThe root element of the organization chart is to the right of the control, and its children are to the left.
TopToBottomThe root element of the organization chart is located at the top of control, and its children are at the bottom.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment