Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing a form
Message
From
30/10/2003 08:16:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00843964
Message ID:
00844468
Views:
18
>Hi Cetin,
>
>You were right, I have an activex control for mappoint on my form, when this initiated thats when the form will not release. THe init of the control used tons of with endwiths, so I removed them but it doesn't seem to help.
>
>Out of desperation the only thing that works is RELEASE WINDOW ALL
>
>Not sure why this works, how, but don't really care! I'm on a tight schedule on this one.
>
>Q: Why does making my form modal cause my olecontrol to become diabled or readonly (not sure which :) )
>
>Running forms from another seems awkward to me, I keep using pageframes to solve my problems.
>
>Thanks for our help once again
>
>Best Regards
>Robin

Robin,
It might be related to second question. Making a form modal causes Activex not to respond. I've seen this. If I remember right a simple fix was :

thisform.hide
thisform.show
thisform.hide
thisform.show(1)

Weird huh :) Not sure of the sequence that made it work for me.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform