ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / HTML Editor functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Asynchronously retrieves the value of one of the properties of an HTML Editor control.
Remark: This function is particularly useful for Android and iOS applications for which the WLanguage properties Body, Value and TextWithoutFormat are not available (as they can only be used in synchronous mode)..
Example
// Sauvegarde la saisie dans un fichier
HTMLEditorGet(EDHTML_MonEditeur, hegValue, EditeurHTMLRécupère_Callback)
INTERNAL PROCEDURE EditeurHTMLRécupère_Callback(valeur)
	fSaveText("sauvegarde.html", valeur)
END
Syntax
HTMLEditorGet(<HTML Editor control> , <Property> , <WLanguage procedure>)
<HTML Editor control>: Control name
Name of the HTML Editor control used.
<Property>: Integer constant
Property for which the value is to be retrieved;
hegBodyUsed to get the HTML code of the body.
This constant is equivalent to the Body property.
hegTextWithoutFormatUsed to get the text contained in the control without the HTML tags.
This constant is equivalent to the TextWithoutFormat property.
hegValueUsed to get the value of the control.
This constant is equivalent to the Value property.
<WLanguage procedure>: Procedure name
WLanguage procedure ("callback") executed to get the searched value. This procedure has the following format:
PROCEDURE <Nom de la procédure>(Valeur)
where <Value> is the searched value. In this parameter, characters are encoded in UTF-8.
Component: wd300obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help