CARET_POSITION N,P

POSITIONNE LE CURSEUR DE L'OBJET SYSTÈME NUMÉRO N À LA POSITION P



ACTION

La commande CARET_POSITION N,P positionne le curseur à la position P (c'est à dire après le Pème caractère) de l'objet système de numéro N.

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


SYNTAXE : CARET_POSITION N,P


UTILISATION


ERREUR


EXEMPLE

' créer un EDIT

edit 1

' afficher un texte

text 1,"Bonjour"

wait 1000

' mettre le curseur entre "o" and "n"

set_focus 1

caret_position 1,2


EN RAPPORT

EDIT

MEMO

COMBO

SPIN

MEMO_RICH

SYNEDIT


Content created by Jack. Updated March 07, 2025