PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
ORGA_MyOrganizationChart..ElementOrientation = TopToBottom
END
Syntax

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

<Result> = <Organization Chart>..ElementOrientation
<Result>: Integer constant
Current orientation of the control:
BottomToTopThe root element of the organization chart is located at the bottom of the control and its children to the top of the control.
RightToLeftThe root element of organization chart is located on the right of control and its children to the left of control.
LeftToRightThe root element of organization chart is located on the left of control and its children to the right of control.
TopToBottomThe root element of organization chart is located at the top of control and its children to the bottom of control.
<Organization Chart>: Character string (with or without quotes)
Name of Organization Chart control to use.

Modifying the orientation of an Organization Chart control Hide the details

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