Read-Only Text Box (1 Viewer)

durdle17

Registered User.
Local time
Today, 18:11
Joined
Feb 21, 2003
Messages
28
Hey,

I have a txtstart box on my form and the Locked Property is set to "Yes" becase I don't want any users typing. But I also have a "Clear" button on my form, but when I click, I get an error because Locked textboxes can't have focus.
Any Ideas a work around for this?

Thank you in advance
 

Mile-O

Back once again...
Local time
Today, 18:11
Joined
Dec 10, 2002
Messages
11,316
Through code:

unlock the textbox
send the focus to the textbox
clear the textbox
send the focus to the clear command button
lock the textbox
 

Users who are viewing this thread

Top Bottom