Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with releasing forms
Message
From
06/11/2003 02:22:58
 
 
To
05/11/2003 23:17:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00846922
Message ID:
00846944
Views:
27
>i have form2 that shows on top of form1. if my user clicks the "ok" button in form2, i want form1 and form2 to be released and show form3.
>
>i have this,
>
>
>thisform.release
>_screen.activeform.release
>if _screen.activeform.caption="form1"
>    messagebox ("form1")
>endif
>if _screen.activeform.caption="form2"
>    messagebox ("form2")
>endif
>do form form3
>
>
>thisform.release is supposed to release form2 and _screen.activeform.release is supposed to release form1. the code that follows is only to check what form is still active.
>
>why am i getting the messagebox form2 instead of do form form3?

Hi.
I can't tell you why this happens.
But i would suggest releasing form1 and form 2 explicitely and the DO form3.
Kamil
A moment of silence is our cosmic reset button.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform