Sytze de Boer <[email protected]> wrote: >Hi Folk >I want to use the Codemine Stretcher >It seems it will do exactly what I want >But I'm stuck on one issue > >In this small system, I have a main form (scx) >If I stretch this, I want subsequent forms to automatically stretch to >fill >the complete window. > >In the Resize event, I have the following lines >thisform.WindowState= 2 >THIS.cmStretcher1.Stretch(THIS) > >It does not change anything > >The topmost form is 2-As Top Level Form >The 2nd form is 1-In Top level form > >What am I missing ?
Sytze, The stretcher code may not have code to look for children windows. I'm not certain there is a native VFP way to determine this. So it will not affect the 1-In Top level form. You may want to add a condition to the resize method for each 1-In Top level form you have. Scan the _vfp.forms (that might be on _screen) to determine if the form is active and set the new size. -- Tracy _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** 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.

