Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call from a Form to a Top Level Form
Message
From
17/10/2001 03:31:27
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Call from a Form to a Top Level Form
Miscellaneous
Thread ID:
00569422
Message ID:
00569422
Views:
49
Dear all,

In my Account Program design, A series of password verifiying forms is implemented at the application opening. Afterward a so-called Main Form which select the various companies into a common Top Level Form in which a top level menu is implemented for voucher inputing, report geenerating and etc..

In my design, I intend to let the application releade from the top-form and go back to the Main Form, so that, I can change the company working on. However, the following methods is insucessfully run:

1. Set the Top Level Form modal
At the commandbutton click to Top Level Form at Main Form click event type:
:
thisform.hide
do form 'TopLevelForm'
thisform.show
:
:

2. Set the TopLevelForm modalless
At the commandbutton click to TopLevelForm at Main Form click event type:
:
thisform.release()
do form 'TopLevelForm'
:
:
At the Top Level Menu I implement a pad name 'Exit' which coding is
_screen.activeform.release()
do form 'Main'

Is there any thing wrong in program design or otherwise, the coding is incorrect??


With regards,

Ransome
Next
Reply
Map
View

Click here to load this message in the networking platform