FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how to get Event from ActiveX ?
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
how to get Event from ActiveX ?
Posted: Tue Jan 30, 2024 05:32 AM
hi,

i like to hightlight Word as show here
https://www.youtube.com/watch?v=Y8-yjsRsyvI

i need to catch "Word event" of SpVoice, how :?:
greeting,

Jimmy
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: how to get Event from ActiveX ?
Posted: Tue Jan 30, 2024 06:20 AM

Dear Jimmy,

Reviewing Harbour OLE implementation it seems as this is the way:

oVoice:__hSink := __axRegisterHandler( oVoice:__hObj, { | x, y | MsgInfo( x, y ) } )

but here in my tests it is not working as expected.

Maybe another Harbour OLE bug ? I am doing some research to find the right way...

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion