ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Default maximum height
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The MaxLineHeight property gets and sets 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.
Note: The maximum height of the rows in a Table control is set in the window editor, in the "Details" tab of the control description.
Example
// Indicates that the maximum height of a row 
// is used to display 2 lines of text.
TABLE_Table1.MaxLineHeight = 2
Syntax

Getting the maximum height of the rows Hide the details

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

Changing the height of the rows Hide the details

<Control used>.MaxLineHeight = <New maximum height>
<Control used>: Control name
Name of the control to be used: Table, TreeView Table or Looper control.
<New maximum height>: Integer
New maximum height (expressed in lines of text):
  • of the rows in the specified Table or TreeView Table control.
  • of the rows in the specified Looper control.
Only new rows will be modified. 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.

Limitations

  • Possible values range from 0 to +2147483647 (0x7FFFFFFF).
  • The MaxLineHeight property can only be used with the following controls:
    • Table.
    • Looper.
  • The height of a row defined with the Height property is not affected by this maximum value.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/13/2025

Send a report | Local help