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
  • Special cases
  • Limitation
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 title is tilted, the height of the title is adjusted accordingly to show 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_Colonne1.Titre = "Titre vraiment long"
TABLE_TABLE1.AngleTitre = 50
// Inclinaison uniquement du titre de la colonne 1
TABLE_TABLE1.COL_Colonne1.AngleTitre = 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: 09/21/2024

Send a report | Local help