Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form wont stay active
Message
From
10/05/2001 17:08:53
 
 
To
10/05/2001 16:58:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00506003
Message ID:
00506008
Views:
26
>I cannot get myform.show() with a read events to keep the form active
>when it is being called from a .vcx but it will when first class is
>created in .prg?
>
>Example
>
>myform =createobject('frmmyform')
>myform.show()
>read events
>
>This works in the main.prg but not from one class to another. I have
>to put
>
>myform.show(1)
>read events
>
>which makes it modal and disables the menu bar.
>
>Any help would be great.

Any time you CREATEOBJECT inside a class, you have to set VISIBLE = .t. to get it to show.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform