Page 2 of 2

Re: Events from OLE

Posted: Thu Aug 14, 2014 10:17 pm
by Antonio Linares
Jose,

But the events are not being fired, right ?

Could you report it in the Harbour developers list providing an example that does not require FWH ? thanks

Re: Events from OLE

Posted: Fri Aug 15, 2014 1:07 am
by Jose Dolar
Antonio,

I am sure that opening the cover of the printer will fire an event. I had tested this in our older system. The software that bridge the "Harbour Application" and the "Ole for Retail" will display a message box when the printer cover is lifted.
It seems that the Harbour event handler is unable to receive the event.

Do you have a link to the Harbour developers list?

Thank you,

Jose

Re: Events from OLE

Posted: Fri Aug 15, 2014 1:29 am
by Antonio Linares

Re: Events from OLE

Posted: Sat Aug 23, 2014 3:52 am
by Jose Dolar
Hi Antonio,

I found out that other implementation of the "OLE for Retail POS" was done by attaching it to a Form. So, I tried the FWH THactiveX and so far my App received events. :D

Just want to clarify about the parameters of the code block. bOnevent:={|event,aParams,pParams| }

1. Is the code block always receive 3 paramters regardless of the Ole?
2. What is the third parameter (pParams)?

Thank you.

Regards, Saludos,

Jose

Re: Events from OLE

Posted: Mon Aug 25, 2014 4:08 am
by Antonio Linares
Jose,

I missed your msg. Glad to know that you are already receiving events.

pParams is the same as aParams. I just used that syntax to keep compatibility with previous FWh Class TActiveX