ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Default maximum height
  • Limitations
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 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.
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.
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.

Limitations

  • Possible values range from 0 to +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

Last update: 02/26/2024

Send a report | Local help