Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any way to select from current position in textbox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01007207
Message ID:
01007213
Vues:
15
Thanks Sergey.

I thought that was the case but when I SET STEP ON in the KeyPress event of the textbox, that value is always 0.

I may just have to trap the Click event and the arrow keys in order to know the user's position when they actually hit the BackSpace key.

You don't happen to know of an easier way do you?

Rodd

>>I have a textbox in which the user builds a comma separated list of names. When the user deletes one character of one of the names, I want to delete the whole name. I'm kind of trying to emulate the effect you get in Outlook when you delete attachments from a plain text email. Outlook does not allow you to delete any part of the attachment name.
>>
>>I trap the BackSpace using the KeyPress event but I have no way of telling where my cursor position (and hence the backspace) is within textbox.Value.
>>
>>Is there anyway to tell where the cursor was when the user pressed backspace?
>>
>
>See SelStart property.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform