Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
THIS.Pages(THIS.ActivePage) prevents parent form closing
Message
 
 
To
10/05/2004 04:41:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00902356
Message ID:
00902386
Views:
16
Kenneth,

Be advised that you may get reference to the wrong page. See Re: How do you Determine the Current PAGE of the PAGEFRAME Message #877173 and the whole thread.

>
>I've got 2 forms : FormA calling FormB. In FormB, there's a subclassed PageFrame object with a line of code ...
>
>
loPage = THIS.Page(THIS.ActivePage)
>
>When FormB closes and returns to FormA, FormA cannot be closed (upon clicking the Close button, it grays off). Ctrl+F4 does not work either.
>
>However, if I add in another line of code ...
>
>
>=THIS.ActivePage
>loPage = THIS.Page(THIS.ActivePage)
>
>
>... the problem disappears.
>
>Any insights into the problem would be most appreciated.
>
>TIA.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform