Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling activex control in form
Message
From
15/11/2001 12:43:08
 
 
To
15/11/2001 12:06:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00581654
Message ID:
00582222
Views:
31
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform