how to get Event from ActiveX ?

how to get Event from ActiveX ?

Postby Jimmy » Tue Jan 30, 2024 5: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 :?:
Image
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1585
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: how to get Event from ActiveX ?

Postby Antonio Linares » Tue Jan 30, 2024 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], nageswaragunupudi and 102 guests