|
|
|
|
|
EditeurHTMLRécupèreSélection (Fonction) En anglais : HTMLEditorGetSelection Récupère en mode asynchrone la sélection effectuée dans un champ Editeur HTML. Remarque : Cette fonction est notamment utile pour les applications Android et iOS pour lesquelles la propriété WLangage Sélection n'est pas disponible en lecture.
EditeurHTMLRécupèreSélection(EDHTML_MonEditeurHTML, EditeurHTMLRécupèreSélection_Callback)
PROCÉDURE INTERNE EditeurHTMLRécupèreSélection_Callback(Sélection est un edtHTMLSélection)
BTN_Ouvrir.Grisé = PAS Gauche(Sélection.Texte, "https:\\" )
FIN
Syntaxe
EditeurHTMLRécupèreSélection(<Champ Editeur HTML> , <Procédure WLangage>)
<Champ Editeur HTML> : Nom de champ Nom du champ Editeur HTML manipulé. <Procédure WLangage> : Nom de procédure Procédure WLangage (également nommée "callback") exécutée lorsque la sélection a été récupérée. Cette procédure est de la forme :
PROCEDURE <Nom de la procédure>(MaSélection est un edtHTMLSélection) où <MaSélection> est une variable de type edtHTMLSélection correspondant à la sélection en cours dans le champ Editeur HTML. Composante : wd300obj.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|