ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Special case: Link control
  • Limitations
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 FontUnderlined property is used to:
  • Determine if the text is underlined.
  • Underline (or not) a text.
Example
// Underline the text displayed in "STC_StaticControl"
STC_StaticControl.FontUnderlined = True
Syntax

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

<Result> = <Control used>.FontUnderlined
<Result>: Boolean
  • True if the text is underlined,
  • False otherwise.
<Control used>: Control name
Name of the control to be used.

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

<Control used>.FontUnderlined = <Underlined/Not underlined>
<Control used>: Control name
Name of the control to be used.
<Underlined/Not underlined>: Boolean
  • True if the text must be underlined,
  • False otherwise.
Remarks
WEBDEV - Server codeWEBDEV - Browser codePHP

Special case: Link control

The result of the FontUnderlined property ignores that browsers underline links by default.
Therefore, the value returned by the FontUnderlined property in browser code and in server code for the same Link control can be different.

Limitations

WEBDEV - Server code In a report, the FontUnderlined property can only be used on:
  • a Static control.
  • a Calculated control.
  • a URL Link control.
  • a Preset control.
WEBDEV - Server codePHPAjax In a page, the FontUnderlined 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.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/17/2024

Send a report | Local help