Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox and TextBox enable/disable Code Placement
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
CheckBox and TextBox enable/disable Code Placement
Miscellaneous
Thread ID:
00612601
Message ID:
00612601
Views:
49
Hi All,

On a form I have a check box which will enable/disable two textboxes according to the checkbox state. This has also to relect when the records pointer is moved.

I have codes in the refresh of the textbox like
this.enabled = !thisform.chkbox.value
and in the check box I have:
thisform.textbox1.refresh()
thisform.textbox2.refresh()
now if I add a new control which depends on this checkbox I'll have to code two places again. Any way I can co-ordinate things well from one place and fixed codes in say for eg. the checkbox, so when I add a new control I have to change at one place to get the desired effects.

Thanks in advance
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform