Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Controls Disabling on a Modal Form
Message
From
08/08/2001 03:05:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
ActiveX Controls Disabling on a Modal Form
Miscellaneous
Thread ID:
00541120
Message ID:
00541120
Views:
66
Hi All,

I have a modal form with an ActiveX control on it, this form is modal.
On this form I also have a button which calls another form using "DO FORM...".

The second form is not modal, but it behaves like a modal form as it was called from a modal form, this is normal. The problem is when the second form is closed
and you return to the first form, the ActiveX control stops responding to mouse
input.

SO far I have found 2 ways to stop this:

1. Specify the second form to be modal on its property sheet.
2. Make the ActiveX control invisible before calling the other form and then making it visible when the other form is closed.

Both of these workarounds are unacceptable as the second form is called from other locations where it can't be modal, and making the control invisible looks very bad.

So far I have found this on the following controls in VFP 6 & 7:
1. "MSComCtlLib.ListViewCtrl.2"
2. "MSComCtlLib.Slider.2"

The only remotely similar thing on could find at Microsoft is this which does not apply at all.

Does anybody have any ideas on this problem?

Thanks,

Chris Ormerod
Have a nice day :)
Next
Reply
Map
View

Click here to load this message in the networking platform