Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form wont stay active
Message
From
10/05/2001 17:18:30
 
 
To
10/05/2001 17:16:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00506003
Message ID:
00506012
Views:
17
>I put myform.visible = .t.
> myform.show()
> read events
>
>The form flashes then goes right back to the main form.?
>
>Simple project with one prg one .vcx with two classes based on forms
>
>The first form is the main form and the second is whatever.
>The first form loads fine with from .prg but when
>I click on a command button to activate the other form with
>
>myform2 = createboject('form2')
>myform2.visible = .t.
>myform2.show()
>read events
>
>
>it just flashes
>and goes back to main form.
>
>Pretty basic I know but just getting started.
>
>thanks

If you already have a READ EVENTS active, adding a second one has no effect. Make the form Modal by doing a myForm.Show(1).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform