Steve Ellenoff wrote:
Iterate for each control on the form. Use the baseclass property of the control to see if it's a pageframe. Example code (untested):

*Iterate through each control on the form
FOR EACH loControl IN THISFORM.Controls
        IF UPPER(loControl.BaseClass) == "PAGEFRAME"
                *Iterate through each page on the pageframe
                FOR EACH loPage IN loControl.Pages
                        *Do whatever with each page
                        WAIT WINDOW loPage.Name
                ENDFOR
        ENDIF
ENDFOR

Thanks, Steve. I came up with a similar answer about 5 minutes after I posted that, after spending some time with my good buddy, the debugger tool. Thank you, though!


_______________________________________________
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.

Reply via email to