If memory serves me, the SelStart property of the editbox represents the insertion point (cursor position)
Glenn
>Hello all!
>I have got an edit box that bound with memo field. I would like to get position of current cursor in that box by pressed a key in keypress method.
>How do I know the position’ current cursor and number of line in that box?
>In addition, I would like to extract a sub string in memo field from current cursor.
>Please help me!
>Thanks!
>Canh
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement