Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal Form Behavior:
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00757065
Message ID:
00757120
Views:
9
Just thought I'd let everyone know that I came up with a solution.
I created a custom class with the DynaZip Events I wanted to use as methods.
I then used the VFPCOM BindEvents functionality to tie the Custom class to an instance of the ActiveX control and it appears these bound events trigger in a modal situation, even when the AX control's own events do not.

Thanks,

- Aaron.

>I'm using a couple of different ActiveX controls throughout the application (created using VFP 6.0); TreeView, ListView, ImageList and DynaZip AX.
>
>My problem is, when I launch a form containing the DynaZip controls, the callback Events do not fire when either the form is shown modally or is launched from a form that is shown modally.
>
>The obvious solution is "don't show your form modally" however this isn't always possible, or at the very least desirable.
>
>If someone could give me any pointers for working around this issue, I'd appreciate it.
>
>Regards,
>
>- Aaron.
>
>
>P.S. I have _VFP.AutoYield set to False.
Aaron Young
Red Wing Software, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform