Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
The FontItalic property is used to:
  • Determine if the text is italicized.
  • Apply or remove italic formatting from the text.
// Write the text displayed in "STC_StaticControl" in italic
STC_StaticControl.FontItalic = True

Determining if the text displayed in a control is italicized Hide the details

<Result> = <Control used>.FontItalic
<Result>: Boolean
  • True if the text is written in italic,
  • False otherwise.
<Control used>: Control name
Name of the control to be used.
WINDEVUniversal Windows 10 AppAndroidJavaUser code (UMC)PHP

Applying or removing italic formatting from the text displayed in a control Hide the details

<Control used>.FontItalic = <Italic/Not italic>
<Control used>: Control name
Name of the control to be used.
<Italic/Not italic>: Boolean
  • True if the text should be italicized,
  • False otherwise.


In a report, the FontItalic property can only be used on:
  • a Static control.
  • a URL Link control.
  • a Calculated control.
  • a Preset control.
WINDEV In a window, the FontItalic property cannot be used on:
  • a Spin control,
  • a Web Camera control,
  • a Conference control.
Remark: This property only applies to ListView controls in standard "List Box" display mode.
WEBDEV - Server code In a page, the FontItalic property can be used on:
  • a Static control,
  • an Edit control,
  • a Button control,
  • a Check Box control,
  • a Radio Button control,
  • a List Box control,
  • a column in a Table control,
  • a cell of a Table control (read only),
  • a formatted display control,
  • an HTML control,
  • a Combo Box control,
  • a Link control,
  • an HTML Static control,
  • a Pager control,
  • a Breadcrumb control (except in PHP),
  • a TreeView control,
  • a menu.
Java The FontItalic property applies only to the following elements:
  • Button control.
  • Static control.
  • Combo Box control.
  • TreeView control.
  • Column of a Table control.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 01/31/2024

Send a report | Local help