Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
Thanks for the help. You can see my response to Sergey.
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?
>>
>>Thanks for your help.
>>
>>Rodd
>
>
>TextBox.SelStart
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