Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form's Visible
Message
From
27/04/2006 01:35:01
 
 
To
26/04/2006 06:26:49
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01116578
Message ID:
01116982
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform