PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Browsing List Box, Table and Combo Box controls
  • List Box control
  • ListView control
  • 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 LineHeight property is used to get and change the height of the 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).
  • WINDEV in an Organizer control.
  • WINDEV in a Spreadsheet control.
  • WINDEV in a Treeview control.
Remarks:
  • 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.
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 used>.LineHeight
<Current height>: Integer
Height (in pixels) of rows in the specified control.
<Control used>: Control name
Name of the control to be used.

Modifying the height of rows in a control Hide the details

<Control used>.LineHeight = <New height>
<Control used>: Control name
Name of the control to be used.
<New height>: Integer
New height (in pixels) of the rows in the specified control.
Remarks

Browsing List Box, Table and Combo Box controls

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.
WINDEV

ListView control

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

Limits

Android The LineHeight property applies only to:
  • List Box controls,
  • Combo Box controls,
  • Looper controls,
  • Table controls.
Universal Windows 10 App The LineHeight property can only be used on Looper controls.
iPhone/iPad The LineHeight property applies only to:
  • Looper controls,
  • List Box controls,
  • Table controls.
Java The LineHeight property applies only to:
  • List Box controls,
  • Combo Box control,
  • Table controls.
Minimum version required
  • 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
10 Feb. 2016