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 HeightElement makes it possible to:
  • WINDEV Find out or modify the height of the elements in an Organization Chart control.
  • Versions 19 and later
    Find out or modify the height of the cells in a Dashboard control.
    New in version 19
    Find out or modify the height of the cells in a Dashboard control.
    Find out or modify the height of the cells in a Dashboard control.
Remarks:
  • WINDEV 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.
  • Versions 19 and later
    The height of a cell found in a Dashboard control is defined in the "Details" tab of the description of a Dashboard control.
    New in version 19
    The height of a cell found in a Dashboard control is defined in the "Details" tab of the description of a Dashboard 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 codeAndroidiPhone/iPad This property is available for Dashboard controls only.
Versions 22 and later
Android This property is now available for Android applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 22
Android This property is now available for Android applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Android This property is now available for Android applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Example
WINDEV
ORGA_Principal.LargeurElément = 200
ORGA_Principal.HauteurElément = 100
 
IF INT_Zoom = True THEN
ORGA_Principal.LargeurElément = 400
ORGA_Principal.HauteurElément = 200
END
// Réduit la hauteur de toutes les cellules du champ Tableau de bord
IF TDB_TableauDeBord.HauteurElément > 50 THEN
TDB_TableauDeBord.HauteurElément = 50
END
Syntax

Finding out the height of elements or cells Hide the details

<Result> = <Control used>.ElementHeight
<Result>: Integer
  • WINDEV Height (in pixels) of the elements found in the specified Organization Chart control.
  • Versions 19 and later
    Height (in pixels) of the cells found in the specified Dashboard control.
    New in version 19
    Height (in pixels) of the cells found in the specified Dashboard control.
    Height (in pixels) of the cells found in the specified Dashboard control.
<Control used>: Control name
  • WINDEV Name of Organization Chart control to use.
  • Versions 19 and later
    Name of Dashboard control to use.
    New in version 19
    Name of Dashboard control to use.
    Name of Dashboard control to use.

Modifying the height of the elements or cells Hide the details

<Control used>.ElementHeight = <New height>
<Control used>: Control name
  • WINDEV Name of Organization Chart control to use.
  • Versions 19 and later
    Name of Dashboard control to use.
    New in version 19
    Name of Dashboard control to use.
    Name of Dashboard control to use.
<New height>: Integer
  • WINDEV New height (in pixels) of elements found in the specified Organization Chart control.
  • Versions 19 and later
    New height (in pixels) of the cells found in the specified Dashboard control.
    New in version 19
    New height (in pixels) of the cells found in the specified Dashboard 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.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment