|
|
|
|
|
HTMLEditorGetSelection (Function) In french: EditeurHTMLRécupèreSélection Asynchronously retrieves the current selection from an HTML Editor control. Remark: This function is particularly useful for Android and iOS applications where the WLanguage property Selection is not available for reading.
HTMLEditorGetSelection(EDHTML_MonEditeurHTML, EditeurHTMLRécupèreSélection_Callback)
INTERNAL PROCEDURE EditeurHTMLRécupèreSélection_Callback(Sélection is edtHTMLSelection)
BTN_Ouvrir.Grisé = NOT Left(Sélection.Text, "https:\\" )
END
Syntax
HTMLEditorGetSelection(<HTML Editor control> , <WLanguage procedure>)
<HTML Editor control>: Control name Name of the HTML Editor control used. <WLanguage procedure>: Procedure name WLanguage procedure ("callback") executed once the selection has been retrieved. This procedure has the following format:
PROCEDURE <Nom de la procédure>(MaSélection est un edtHTMLSélection) where <MySelection> is an edtHTMLSelection variable that corresponds to the current selection in the HTML Editor control.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|