Events from OLE

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Events from OLE

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Jose Dolar
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: Events from OLE

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Events from OLE

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
Jose Dolar
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: Events from OLE

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Events from OLE

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply