Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help!! Returning back to the calling form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00261260
Message ID:
00261281
Views:
29
>William,
>
>Your assumption is correct. Currently on the second form, I have the min, max, and cancel options of a screen set to False. I wanted a user to select a button that will allow them to exit the second form and return back to the calling form.
>
>I'm trying to duplicate the cancel button into a command button on the form.

Make sure the second form is modal. You can also look at the forms collection.
VFP has a _screen object that can be referenced via _screen.formcount.

Launch a couple of forms and from the command window type ? _screen.formcount, then if form 1 has a caption property of form1 you could kill it with ? _screen.forms(1).release()
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform