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).
  • 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.
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.
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for 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 Table controls in Android and iPhone/iPad applications.
New in version 20
AndroidiPhone/iPad This property is now available for Table controls in Android and iPhone/iPad applications.
AndroidiPhone/iPad This property is now available for Table controls in Android and 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 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,
  • Versions 20 and later
    Table controls.
    New in version 20
    Table 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,
  • Versions 20 and later
    Table controls.
    New in version 20
    Table 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
Click [Add] to post a comment