Information générale
Catégorie:
Gestionnaire de menu & Menus
Titre:
Call from a Form to a Top Level Form
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement