PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..ElementOrientation is used to find out and modify 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.
RightToLeftThe root element of the organization chart is to the right of the control, and its children are to the left.
LeftToRightThe root element of the organization chart is to the left of the control, and its children are to the right.
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.
RightToLeftThe root element of the organization chart is to the right of the control, and its children are to the left.
LeftToRightThe root element of the organization chart is to the left of the control, and its children are to the right.
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