ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The MaxLeafPerRow property gets and sets the maximum number of elements in a 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 sheets per line in the Organization Chart control is defined in the "General" tab of the control description window ("Switch to multiple lines from" option)..
Example
IF INT_EnColonne = True THEN
	ORGA_Principal.MaxFeuilleParLigne = 1
ELSE
	ORGA_Principal.MaxFeuilleParLigne = 0 // sans limite
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

Last update: 09/21/2024

Send a report | Local help