|
|
|
|
|
HTMLEditorGet (Function) In french: EditeurHTMLRécupère 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)..
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;
| | hegBody | Used to get the HTML code of the body.This constant is equivalent to the Body property. | hegTextWithoutFormat | Used to get the text contained in the control without the HTML tags. | hegValue | Used 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|