SELECT_TEXT N,P,C

SÉLECTIONNE C CARACTÈRES À PARTIR DE LA POSITION P DANS L'OBJET SYSTÈME NUMÉRO N



ACTION

La commande SELECT_TEXT N,P,C sélectionne C caractères à partir de la position P (c'est à dire à partir du Pème caractère) dans l'objet système de numéro N.

L'objet système est du type : EDIT, MEMO, COMBO, SPIN, MEMO_RICH, SYNEDIT.


SYNTAXE : SELECT_TEXT N,P,C


UTILISATION


ERREUR


EXEMPLE

' créer un EDIT

edit 1

' afficher un texte

text 1,"Bonjour"

' sélectionner 3 caractères à partir du 2ème

select_text 1,2,3

' afficher le texte sélectionné

print select_read$(1)


EN RAPPORT

EDIT

MEMO

COMBO

SPIN

MEMO_RICH

SYNEDIT

SELECT_DELETE

SELECT_READ$()


Content created by Jack. Updated March 07, 2025