Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form won't get focus
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00065923
Message ID:
00065964
Views:
37
>>I've created a modal form class. When I do the following:
>>
>>loForm = CreateObject("cModalForm")
>>loForm.Visible = .T.
>>loForm = NULL
>>
>>The form open and close immediatly. What am I missing?
>after the visible issue a read events and then clear events in the destroy of the form,
>hopefully that will do it for you.

I don't think this is a good strategy. If there is already a READ EVENTS in effect,
the CLEAR EVENTS will end the program when this form exits. I think it's the
ThisForm.Show(1) which Edward suggested.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform