PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
StrikeOut (Property)
In french: Barré
The StrikeOut property is used to:
  • Determine whether the strikethrough formatting is applied to a Font variable.
  • Apply strikethrough formatting to a Font variable.
Remark: When a font is struck out, a horizontal line is drawn through the text. For example: Text with strikethrough formatting.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Versions 27 and later
Android This property is now available for Android applications.
Android Widget This property is now available in Android widget mode.
New in version 27
Android This property is now available for Android applications.
Android Widget This property is now available in Android widget mode.
Android This property is now available for Android applications.
Android Widget This property is now available in Android widget mode.
Example
// Define the characteristics of a Font variable
Font1 is Font
Font1.Name = "Arial"
Font1.Size = 14
Font1.SizeUnit = unitPoint
Font1.StrikeOut = True
// Apply the font to "MyControl"
MyControl.Font = Font1
Syntax

Determining whether the strikethrough formatting is applied to a Font variable Hide the details

<Result> = <Font>.StrikeOut
<Result>: Boolean
  • True if the strikethrough formatting is applied to the specified Font variable,
  • False otherwise.
<Font>: Font variable
Name of the Font variable to be used.

Applying strike through formatting to a Font variable Hide the details

<Font>.StrikeOut = <Struck/Not struck>
<Font>: Font variable
Name of the Font variable to be used.
<Struck/Not struck>: Boolean
  • True if the strike through formatting must be applied to the specified Font variable,
  • False otherwise.
Remarks
A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:
Versions 27 and later
AndroidAndroid Widget This font can only be used in the controls of a window (Font property).
New in version 27
AndroidAndroid Widget This font can only be used in the controls of a window (Font property).
AndroidAndroid Widget This font can only be used in the controls of a window (Font property).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment