Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Controls Disabling on a Modal Form
Message
De
08/08/2001 16:52:20
 
 
À
08/08/2001 16:49:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00541120
Message ID:
00541559
Vues:
7
Sorry, I forgot the most important thing. From modal forms alwasy create, show etc only modal forms if the second contains active-x.

bb



>>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
>
>Hello it is the problem of the ocx... But, I also had problem with my bbListView.ocx because the windows native listview has some unexpected tricky behaviour due to the MFC shell.
>
>bb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform