PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Default maximum height
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The MaxLineHeight property is used to get and change the maximum height in:
  • the rows of a Table control (case of multiline rows with automatic resizing)
  • the rows of a TreeView Table control.
  • the rows of a Looper control.
Remark: The maximum height of the rows in a Table control is set in the window editor, in the "Details" tab of the control description.
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 20 and later
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls in Android and iPhone/iPad applications.
New in version 20
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls in Android and iPhone/iPad applications.
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls in Android and iPhone/iPad applications.
Example
// Indicates that the maximum height of a row
// is used to display 2 lines of text.
TABLE_Table1.MaxLineHeight = 2
Syntax

Finding out the maximum height of rows Hide the details

<Current maximum height> = <Control used>.MaxLineHeight
<Current maximum height>: Integer
Maximum height (in characters) of rows for the specified control.
<Control used>: Control name
Name of the control to be used: Table control, TreeView Table control or Looper control.

Modifying the height of rows Hide the details

<Control used>.MaxLineHeight = <New maximum height>
<Control used>: Control name
Name of the control to be used: Table control, TreeView Table control or Looper control.
<New maximum height>: Integer
New maximum height (in characters):
  • of the rows in the specified Table or Treeview Table control.
  • of the rows in the specified Looper control.
Only the new displayed rows will be modified. The rows that are already displayed will not be modified.
Remarks

Default maximum height

The maximum height of a row is set to 0 by default. In this case, the maximum height of a row corresponds to the default row height.

Limits

  • The possible values are between 0 and +2147483647 (0x7FFFFFFF).
  • The MaxLineHeight property can only be used with the following controls:
    • Table.
    • WINDEVJava TreeView Table.
    • Looper.
  • The height of a row modified through programming with Height is not affected by this maximum.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment