General information
Category:
COM/DCOM and OLE Automation
>The BINDEVENT() function should only be used to bind to the native VFP objects. See help for details.
>For COM objects there's EVENTHANDLER() Function.
>
>>I have a simple form with a mscomm control and a container object.
>>In Init of the contailner I have
>>BINDEVENT('mscommname', 'oncomm', this, 'moncomm', 1)
>>Where 'moncomm' is a custom method.
>>
>>That form works fine. If I save that form into a class and then run it:
>>o = NEWOBJECT('form1', 'classname.vcx') Fox crashes.
>>Here are parameters of the mscomm control:
>>RThreshold = 2
>>SThreshold = 0
>>Settings = 9600,n,8,1
>>
But why it works in a form but not in a class?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only