|
|
|
|
|
ElementHeight (Property) In french: HauteurElément
The ElementHeight property is used to: Find out or modify the height of the elements in an Organization Chart control. - Find out or modify the height of the cells in a Dashboard control.
Remarks: The minimum height of the elements found in an Organization Chart control is defined in the "General" tab of the description window of the Organization Chart control. - The height of a cell found in a Dashboard control is defined in the "Details" tab of the description of a Dashboard control.
![WEBDEV - Server code WEBDEV - Server code](https://doc.pcsoft.fr/ext/images/us/WBS.png?-1123132264) ![Android Android](https://doc.pcsoft.fr/ext/images/us/ANDROID.png?385929803) ![iPhone/iPad iPhone/iPad](https://doc.pcsoft.fr/ext/images/us/IPHONE.png?1493160723) This property is available for Dashboard controls only.
// Reduce the height of all cells in the Dashboard control IF DASH_Dashboard.ElementHeight > 50 THEN DASH_Dashboard.ElementHeight = 50 END
Syntax
Finding out the height of elements or cells Hide the details
<Result> = <Control used>.ElementHeight
<Result>: Integer Height (in pixels) of the elements found in the specified Organization Chart control. - Height (in pixels) of the cells found in the specified Dashboard control.
<Control used>: Control name Name of Organization Chart control to use. - Name of the Dashboard control to be used.
Modifying the height of the elements or cells Hide the details
<Control used>.ElementHeight = <New height>
<Control used>: Control name Name of Organization Chart control to use. - Name of the Dashboard control to be used.
<New height>: Integer New height (in pixels) of elements found in the specified Organization Chart control. - New height (in pixels) of the cells found in the specified Dashboard control.
Remarks The margin between the elements is added to the height of the elements.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|