enabling textboxes

bella

Registered User.
Local time
Today, 12:14
Joined
Jul 31, 2003
Messages
38
HI - another question- im on fire tonight :)

i have this situation in a form, where the user needs to click a command button which enables 4 TEXTboxes .

The 4 textboxes are initially not enabled (so greyed out)
then, if the user clicks YES, they all get enabled. Otherwise the user clicks no, and they stay the same.

how do i write the code for enabling behind the Yes command button?

Bella
 
dim myresponse as ...
myresponse = msgbox "sure", vbyesno
if myresponse = vbyes then
me.txtbox.enabled = true
...
endif


something like that...

Regards

P.s. its 4 pm here in holland, where are you from?
 
Last edited:
thanks :)


Bella

ps. Guess where - here's a hint, its 12.43am right now and we're in winter :D
 

Users who are viewing this thread

Back
Top Bottom