Andy Davies wrote: > hi, > I have a container** on page2 [of a pageframe on a form] which expects a > cursor to be open when init() is run, but the cursor isn't created until > the user has filled in some parms on page1. > Is there any way I can disable the container.init? > > I have tried setting enabled = F for the container and for the page > I thought about removing the container and adding it at runtime with > newobject() but it is convenient to position/ size it at design time. > > thanks > > ** it's actually a variation on Les Pinter's 'multiline grid'. > Why not fill in the container when the user has filled in the boxes on page1. You could have a form level mode variable lPage2ok or some other useful name. In the valid of the parameters on page1 check if they have all been filled in and if so fill the cursor and set the form mode, which will allow access to page 2. Don't allow access to page 2 if they are not filled in.
Peter _______________________________________________ Post Messages to: [email protected] 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.

