The textbox's default property is set to disabled, a button click is supposed to enable it but it's not. I've been able to do it just fine in others...what the heck am I missing?
Printable View
The textbox's default property is set to disabled, a button click is supposed to enable it but it's not. I've been able to do it just fine in others...what the heck am I missing?
Nevermind...I was trying to do:
textbox.enabled = True
I should have been doing:
textbox.ReadOnly = False
Which works.
Now I need to figure out how to make ReadOnly=True again if the user decides to go do something else, besides the button click that was intended to be used after modifying the readonly box...hmmm.
Hi,
Use the lostfocus event of the textbox to set the textbox.readonly = true. If they don't use it, they lose it.
zaza
Ah, so, they'll learn quickly to fill in that box first after the button click that sets readonly to false.
SWEET! Works just how I need it to...thanks!Quote:
Originally Posted by zaza
:wave:
Wow you answered your question by yourself :)
Great stuff
I have a habit of that...I just need to think/explore more before I ask simple questions. :rolleyes:Quote:
Originally Posted by dinosaur_uk