>>The OnComm event fires when data is received.
>Not for me :-)
>I create simple form.
>Add MsComm, CommandButton, TextBox.
>form.init()
>...set mscomm properties
>CommandButton.Click()
>thisform.TextBox1.value=thisform.mscomm.Input()
>MsComm.OnComm()
>wait "have data, Pavel" wind nowa
>
>and then send "hello" into CommPort ...
>CommandButton.click() say "hello" into TextBox, but OnComm NOT fired.
>Pavel
Pavel,
From VFP Help,
The AutoYield property should be set to false (.F.) when a form contains an ActiveX control.What is your _VFP.AutoYield property set to?
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao