PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property MaxLineSheet allows to know and modify the maximum number of elements in 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).
Remark: The maximum number of leaves per row for an Organization Chart control is defined in the "General" tab of the control description window ("Move over several rows from").
Example
IF CBOX_InColumn = True THEN
ORGA_Main.MaxSheetPerLine = 1
ELSE
ORGA_Principal.MaxSheetPerLine = 0 // no limit
END
Syntax

Finding the maximum number of leaves Hide the details

<Result> = <Organization Chart control>.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 control>: Control name
Name of Organization Chart control to use.

Modifying the maximum number of leaves Hide the details

<Organization Chart control>.MaxLeafPerRow = <New value>
<Organization Chart control>: Control name
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 version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment