|
|
|
|
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 Body , Value and TextWithoutFormat WLanguage properties are not available (since they can only be used synchronously). // Save the entered data in a file HTMLEditorGet(HTMEDT_MyEditor, hegValue, HTMLEditorGet_Callback) INTERNAL PROCÉDURE HTMLEditorGet_Callback(value) fSaveText("save.html", value) 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 <Procedure name>(Value) where <Value> is the searched value. In this parameter, characters are encoded in UTF-8.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|