Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling which fields are displayed and usable
Message
 
To
10/08/1999 23:40:16
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00252348
Message ID:
00252424
Views:
10
>I have a form that based on a code selected from a combo, input is required in anywhere from 1-6 other fields on the form. I was thinking about making them DISABLED or VISIBLE=.F. depending on what is picked in the combo. Most likely, the control of the other fields needs to be in the InterActiveChange property for the combo. Or should it be in each independent field in some sort of DISPLAY property? What about when data is displayed via the NEXT/PREV controls on the form. Where should I control the fields from in that case? Is there one property that can handle them all.

Peter,

I would put the code to enable/disable each control in that control's refresh and then call Thisform.refresh whenever conditions change.
Previous
Reply
Map
View

Click here to load this message in the networking platform