ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • List Box, Table and Combo Box controls based on a data file
  • List Box control
  • ListView control
  • Limits
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The LineHeight property gets and sets 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 of a Spreadsheet control.
  • WINDEV in a Treeview control.
Remarks:
  • List or Combo field: Line heights are defined in the window editor, in the "Style" tab of the field description.
  • Table, TreeView control, RepeatString, Spreadsheet field: Line heights are defined in the window editor, in the "Detail" tab of the field description.
Example
// Augmentation de la hauteur des lignes du champ "TABLE_TableClient"
TABLE_TableClient.HauteurLigne = TABLE_TableClient.HauteurLigne + 100
// Équivalent à : TABLE_TableClient.HauteurLigne +=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

List Box, Table and Combo Box controls based on a data file

When the height of rows is modified in a Table, List Box or Combo Box control based on a data file, 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.
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

Last update: 09/24/2024

Send a report | Local help