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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HtmlFormat (Property)
In french: FormatHtml
The HtmlFormat property is used to:
  • find out whether an edit control accepts the input in HTML format.
  • modify the input format of an edit control.
This property can be used on the edit controls of a window.
Example
// If the control is in HTML format
IF EDT_MyControl.HtmlFormat = True THEN
	// Recovering plain text
	sValue = HTMLToText(EDT_MyControl)
END
Syntax

Finding out whether an edit control is in HTML format Hide the details

<Result> = <Edit control>.HtmlFormat
<Result>: Boolean
  • True if the input in the control is performed in HTML format,
  • False otherwise.
<Edit control>: Control name
Name of the Edit control to be used.

Enabling/Disabling the input in HTML format in an edit control Hide the details

<Edit control>.HtmlFormat = <Value>
<Edit control>: Control name
Name of the Edit control to be used.
<Value>: Boolean
  • True if the input in the control must be performed in HTML format,
  • False otherwise.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help