PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Special case: Link control
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..FontUnderlined is used to:
  • Find out whether a text is underlined or not.
  • Underline (or not) a text.
Example
// Underline the text displayed in "STC_StaticControl"
STC_StaticControl..FontUnderlined = True
Syntax

Finding out whether the text displayed in a control is underlined Hide the details

<Result> = <Control name>..FontUnderlined
<Result>: Boolean
  • True if the text is underlined,
  • False otherwise.
<Control name>: Character string (with or without quotes)
Name of control to use.

Modifying the underline attribute for the text displayed in a control Hide the details

<Control name>..FontUnderlined = <Underlined/Not Underlined>
<Control name>: Character string (with or without quotes)
Name of control to use.
<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 ..FontUnderlined ignores the fact that the browsers underline the links by default.
Therefore, the value returned by ..FontUnderlined may differ in browser code and in server code for the same Link control.

Limits

WEBDEV - Server code In a report, ..FontUnderlined can only be used on:
  • a Static control.
  • a Calculated control.
  • a URL Link control.
  • a Preset control.
  • an Item control.
WEBDEV - Server codePHPAjax In a page, ..FontUnderlined 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 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