Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call from a Form to a Top Level Form
Message
De
17/10/2001 03:31:27
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Call from a Form to a Top Level Form
Divers
Thread ID:
00569422
Message ID:
00569422
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform