>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.comSET RANT ON - The Wombat BlogLife isn’t a morality contest and purity makes a poor shield. - J. Peter MulhernDisclaimer: 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.