By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,256 Members | 1,329 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,256 IT Pros & Developers. It's quick & easy.

How do I select text in textbox (highlighted) like I used to do in VB 6?

P: n/a
Hi,

Can't figure out how to highlight text in a textbox for reentry of input.
Used to do it with SelectLength and SelectStart but this doesn't seem to
work with .NET.

Ideas?

TIA,

Larry Woods
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Cor
Larry,
Did you know that the Enter event is not a keyboard event but has the
oposite meaning from leave control.
"Enter, gotfocus, leave, validating, validated, lostfocus"
Maybe you did want to use this, but I doubt it,
I think you want a button or something or a keyevent like keydown.
Just some guesses
Cor
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.