ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Special cases
  • Limitation
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 OrientationTitle property is used to:
  • Determine whether the headings of one or multiple columns in a Table control are angled.
  • Angle the headings of one or all the columns in a Table control.
Remark: If the headings are angled, their height is adjusted to show all the column headings.
OrientationTitle property on a Table control
This property can also be used on only one column. You can tilt the heading of a single column in a Table control.
Example
TABLE_TABLE1.COL_Column1.Title = "Heading too long"
TABLE_TABLE1.OrientationTitle = 50
// Angle heading of column 1 only
TABLE_TABLE1.COL_Column1.OrientationTitle = 50
Syntax

Determining whether a column heading is angled Hide the details

<Angle> = <Control used>.OrientationTitle
<Angle>: Integer
Column heading angle expressed in pixels. The angle can be between 0 (horizontal heading) and 90 degrees (vertical heading). The angle is set to 0 by default (horizontal heading)
<Control used>: Control name
Name of the control used:
  • Name of the Table or TreeView Table control.
  • Name of the column of a Table or TreeView Table control

Setting the angle of the column headings Hide the details

<Control used>.OrientationTitle = <Angle>
<Control used>: Control name
Name of the control used:
  • Name of the Table or TreeView Table control.
  • Name of the column of a Table or TreeView Table control
<Angle>: Integer
Column heading angle expressed in pixels. The angle can be between 0 (horizontal heading) and 90 degrees (vertical heading).
Remarks

Special cases

  • If an angle is specified, the position of the different column icons (sorted column, sortable column, search and filter) becomes fixed.
  • Angles less than 10 degrees are represented by angles of at least 10 degrees.
  • This property has no effect on Table controls oriented at 90 degrees (i.e. with headings on the left and not at the top).
  • Graphic functions (such as gImage, gFontBold, etc.) have no effect on column headings if they are angled with the OrientationTitle property.

Limitation

The OrientationTitle property applies only to Table and TreeView Table controls in a window.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/07/2024

Send a report | Local help