ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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 TitleHeight property gets and sets:
  • the height of the title for the columns of a Table or TreeView Table control.
  • WINDEV the height of the title bar of a Dockable Panel control.
  • WINDEV the height of the title bar of a window with a custom title bar.
Example
// Update the title and the height of the column title in a Table control  
COL_Column1.Title = "Result" + CR + "and Forecast" + CR + "for 2020"
TABLE_Number.TitleHeight = 50
Syntax

Getting the title height Hide the details

<Result> = <Element used>.TitleHeight
<Result>: Integer
  • Height of the column titles expressed in pixels.
  • WINDEV Height of the title bar of a Dockable Panel control expressed in pixels.
  • WINDEV Height of the title bar of the window expressed in pixels.
<Element used>: Control name or window name
Name of the control or window to be used:
  • Name of a Table or TreeView Table control.
  • WINDEV Name of a Dockable Panel control.
  • WINDEV Name of a window with a custom title bar.

Changing the title height Hide the details

<Element used>.TitleHeight = <New value>
<Element used>: Control name or window name
Name of the control or window to be used:
  • Name of a Table or a TreeView Table control.
  • WINDEV Name of a Dockable Panel control.
  • WINDEV Name of a window with a custom title bar.
<New value>: Integer
New height expressed in pixels:
  • Height of the column titles.
  • WINDEV Height of the title bar of a Dockable Panel control.
  • WINDEV Height of the window title bar.
If this parameter is set to 0, the title is invisible.
Remarks
AndroidiPhone/iPad The TitleHeight property is only available on Table controls.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/13/2023

Send a report | Local help