PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..MaxLeafPerRow is used to find out and modify the maximum number of elements per row in an Organization Chart control. When this maximum number is reached for the last level of the hierarchy, the elements are presented on several rows (vertical organization chart) or on several columns (horizontal organization chart).
Note: The maximum number of leaves per row for an Organization Chart control is defined in the "General" tab of the description window of the control ("Switch over several lines from").
Example
IF CBOX_InColumn = True THEN
        ORG_Main..MaxLeafPerRow = 1
ELSE
        ORG_Main..MaxLeafPerRow = 0 // no limit
END
Syntax

Finding the maximum number of leaves Hide the details

<Result> = <Organization Chart>..MaxLeafPerRow
<Result>: Integer
Maximum number of leaves per row. This value is set to 3 by default.
There is no limit if this value corresponds to 0.
If this value corresponds to 1, all the leaves are displayed below each other instead of being displayed side by side (vertical organization chart).
<Organization Chart>: Character string (with or without quotes)
Name of Organization Chart control to use.

Modifying the maximum number of leaves Hide the details

<Organization Chart>..MaxLeafPerRow = <New value>
<Organization Chart>: Character string (with or without quotes)
Name of Organization Chart control to use.
<New value>: Integer
Maximum number of leaves per row. This value is set to 3 by default.
There is no limit if this value corresponds to 0.
If this value corresponds to 1, all the leaves are displayed below each other instead of being displayed side by side (vertical organization chart).
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment