Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form's Visible
Message
De
27/04/2006 01:35:01
 
 
À
26/04/2006 06:26:49
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01116578
Message ID:
01116982
Vues:
13
>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
Fil
Voir

Click here to load this message in the networking platform