Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2000 Server
>Dear all,
>
>I have created a simple program and compile it, the initial form have some command button when invoke will appear another form and the initial form will be hidden, visible=.f.. I have initiated the program so that _screen.visible=.f.. The problem is once I closed the second form and make the initial form visible, the initial form becomes not active and I have to click the initial form to make it active.
>
>Your advise will be highly appreciated.
>
>Thanks.
From the help file on Visible:
"For Form objects, when Visible is set to False (.F.), the form is hidden and the most recently active form set, form, or other object becomes active. When Visible is set to True (.T.), the form becomes visible; however, the form does not become active. To make a form visible and active in the same step, use the Show method. For more information, see Show Method."
Carlos
Précédent
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