Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling activex control in form
Message
De
15/11/2001 12:43:08
 
 
À
15/11/2001 12:06:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00581654
Message ID:
00582222
Vues:
34
This message has been marked as a message which has helped to the initial question of the thread.
>I need to place a code to mscomm OnComm() event.
>I have found that if I place to OnComm() event in a separate class and
>add an instance of this class to form using
>
>thisform.NEWOBJECT('oCom', 'mycomm','mycomlass.vcx')
>
>OnComm() event does not fire!
>
>However, if I place a MSCOMM OLEControl directly to form and place code to its OnComm() event, OnComm() event fires!
>

A known issue. Sergey is correct - it will work dropped on a form. Go here: http://fox.wikis.com/wc.dll?Wiki~MsComm32~VFP and you will find the answer.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform