> I have a free standing table, and a form with a 25 page pageframe > Altogether there are some 100 text boxes and/or check boxes etc. > > As the client scrolls throught the table, depending on a specific flag, I > need to either make the ENTIRE form read-only, or not read only. > > Is there a way to do this with (say) ONE command, or do I have to identify > each and every text box, check box. > e.g., if okay, thisform.text1.readonly=.f. > In your base controls, you could put something like this in the Refresh() method.
This.ReadOnly = ThisForm.lReadOnly Assuming ThisForm.lReadOnly was your flag. Then just call the forms Refresh(). Regards, Jim _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.