Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPD25 Basic DBF with (maybe parallel) User modifyable fi
Message
From
13/06/2001 11:33:00
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00518232
Message ID:
00518918
Views:
17
>Thanks. I really want a non technical user doing all this without disturbing my originals. And how do I make my screen generated by Screen Builder become flexible automatically. Any pointer in the right direction.
>
>Thanks again
>
>Regards
>Bhavbhuti

If you store the information about the user defined questions in a table, you could read the table in the init of the form and add objects to handle the questions and fields. This would take some careful programming, but would work.

Another way would be to include a two column grid in your form, the first column is the question, the second a text field for the response. If there are no user defined items, remove the grid in the Init of the form.

Or, you could create a class (container or grid) that checks for user defined questions in its Init and loads itself. It would return False and not instantiate if there are no user defained questions.
David.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform