Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form does not stay hidden
Message
From
15/11/1999 12:23:49
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00291223
Message ID:
00291228
Views:
21
>I am trying to hide a form and have the hidden form start another form. The problem I am having is the first form (FormA that has visible = .f. property set) doesn't stay hidden. I am starting the FormA in main.prg and then in the init of FormA I am typing in DO FORM formB to start another form. Does anyone know why my formA doesn't stay hidden from beginning? Help appreciate.
>
>
>Thank
>Nick Patel

Nick,

The form is only hidden until the activate event. When the form activates it becomes unhidden. Try this: leave your code in the init event, but in the activate event put This.visible = .f.

Jim Weil
Previous
Reply
Map
View

Click here to load this message in the networking platform