General information
Category:
Forms & Form designer
Thank you both!
>>I have a textbox and a checkbox on a form. If there is a value in the textbox I want the checkbox enabled otherwise I want it disabled. I tried placing empty(thisform.text1.value) in the enable property of the checkbox and also tried len(thisform.text1.value)>0 but neither work. I'm not sure why. Thanks for any help!
>
>They don't work because property sheet values are only evaluated on init, and when they are changed. You need to find a place to put some code that sets the enabled property depending on the value of the textbox. Depending on if the textbox is bound or not, You'll need code in the ProgrammaticChange, the Refresh, and the InteractiveChange events to do what you want.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only