|
-
May 7th, 2012, 07:31 AM
#1
Thread Starter
Lively Member
How to Detect Textbox Change
The Textbox_TextChanged event fires when a key is pressed or when text is pasted while cursor is in a text box.
Is there an event that fires on Textbox1.text="NewText"? How do I detect this?
My reason for doing this is I would like to reformat text property automatically on assignment rather than do something like textbox.text=myreformat("Newtext")
I can put code in validating or validated event but then I'd have to force focus/lostfocus to trigger one of those events.
Any suggestions?
Lee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|