Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Controls and Modal Forms
Message
De
18/02/1999 06:40:55
 
 
À
18/02/1999 06:10:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00188777
Message ID:
00188783
Vues:
20
>Another ActiveX mystery,
>
>I'm using VFP5, Treeview 6, Listview 6, RTF Control
>
>I have a group of ActiveX controls on form1. From form1 I call a modal form2 via a commandbutton. Immediately the display of all the form1 Activex controls get scrambled or blanked.
>
>If I do the same thing with form2 as non-modal the controls work perfectly before and after the call to form2.
>
>I am using the Thisform.LockScreen = .T., _VFPAutoYield = .F., and SYS(2333, 0).
>
>Clearly, the modal call interrupts processing of the ActiveX controls. Is there a solution or a work-around? Form2 needs to be modal or I create all kinds of other problems.
>

You migh try trapping in the Form2's LostFocus event and doing a SetFocus to the last control accessed on Form2 to make the form behave as if it were modal.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform