PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Browsing List Box, Table and Combo Box control
  • List Box control
  • ListView control
  • 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
..LineHeight is used to find out and modify the height of rows:
  • in a List Box control,
  • in a ListView control (standard display mode only),
  • in a Table control,
  • in a Combo Box control,
  • in a Looper control (row height).
  • Versions 15 and later
    WINDEV in an Organizer control.
    New in version 15
    WINDEV in an Organizer control.
    WINDEV in an Organizer control.
  • Versions 20 and later
    WINDEV in a Spreadsheet control.
    New in version 20
    WINDEV in a Spreadsheet control.
    WINDEV in a Spreadsheet control.
  • Versions 23 and later
    WINDEV in a Treeview control.
    New in version 23
    WINDEV in a Treeview control.
    WINDEV in a Treeview control.
Notes:
  • List Box or Combo Box control: The height of rows is defined in the window editor, in the "Style" tab of control description.
  • Table, TreeView, Looper or Spreadsheet control: The height of rows is defined in the window editor, in the "Details" tab of control description.
Versions 16 and later
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This property is now available for the Windows Phone applications.
Universal Windows 10 App This property is now available for the Windows Phone applications.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 20 and later
AndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
New in version 20
AndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
AndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Increase the height of rows found in "TABLE_CustomerTable"
TABLE_CustomerTable..LineHeight = TABLE_CustomerTable..LineHeight + 100
// Equivalent to: TABLE_CustomerTable..LineHeight +=100
Syntax

Finding out the height of rows in a control Hide the details

<Current Height> = <Control Name>..LineHeight
<Current Height>: Integer
Height (in pixels) of rows in the specified control.
<Control Name>: Character string (with or without quotes)
Name of control to use.

Modifying the height of rows in a control Hide the details

<Control Name>..LineHeight = <New Height>
<Control Name>: Character string (with or without quotes)
Name of control to use.
<New Height>: Integer
New height (in pixels) for the rows of specified control.
Remarks

Browsing List Box, Table and Combo Box control

When the height of rows is modified in a browsing Table, List Box or Combo Box control, the new height is applied to the visible rows only.

List Box control

If necessary, a vertical scrollbar can be displayed in a List Box control when the height of rows is modified.
WINDEVWindows Mobile

ListView control

..LineHeight is taken into account only if the ListView control is displayed in standard mode.

Limits

Android ..LineHeight only applies to the:
  • List Box controls,
  • Combo Box controls,
  • Looper controls,
  • Versions 20 and later
    Table controls.
    New in version 20
    Table controls.
    Table controls.
Universal Windows 10 App ..LineHeight only applies to the Looper controls.
iPhone/iPad ..LineHeight only applies to the:
  • Looper controls,
  • List Box controls,
  • Versions 20 and later
    Table controls.
    New in version 20
    Table controls.
    Table controls.
Java ..LineHeight only applies to List Box, Combo Box and Table controls.
Minimum required version
  • Version 9
This page is also available for…
Comments
Interesting also for Webdev
It would be interesting to have this property in Webdev, in my case to change the height corresponding to the "whole day" appointments in the Organizer control.
Josep Castany
Feb. 10 2016