Text box "painted" after record search

plucnik

Registered User.
Local time
Today, 04:30
Joined
Nov 11, 2003
Messages
34
Is there a way for data NOT to be "painted" in a forms text box after a record search? What happens is if a key is accidentially struck, the data in the text box erases. I guess I can create an invisible text box and set the focus there after the search but is there a "best practice" for this? Thanks!
:D
 
I do that in all my apps. I have a text box named tbHidden. It is sized to the smallest twip and I place it in the upper left corner of the form. I always set the focus to the tbHidden after an event is run which prevents the user from activating another event if they hit the wrong key. It also gives the form a clean look when no objects have the focus.

Check out my mouseoverpopups.zip sample at this thread... OnMouseMove
 
Worked like a charm! Thanks for the assistance. :cool:
 

Users who are viewing this thread

Back
Top Bottom