PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Default maximum height
  • Limits
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
..MaxLineHeight is used to find out and modify the maximum height of:
  • the rows in a Table control (case of multiline rows with automatic resizing)
  • the rows in a Treeview Table control.
  • the rows in a Looper control.
Note: The maximum height of the rows found in a Table control is defined in the window editor, in the "Details" tab of 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 name>..MaxLineHeight
<Current maximum height>: Integer
Maximum height (in characters) of rows for the specified control.
<Control name>: Character string (with or without quotes)
Name of control to use: Table control, TreeView Table control or Looper control.

Modifying the height of rows Hide the details

<Control name>..MaxLineHeight = <New maximum height>
<Control name>: Character string (with or without quotes)
Name of control to use: 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 included between 0 and +2147483647 (0x7FFFFFFF).
  • ..MaxLineHeight can only be used on the following types of controls:
    • Table.
    • WINDEVJava TreeView Table.
    • Looper.
  • The height of a row modified by programming with ..Height is not affected by this maximum.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment