... 2.- Limpia las imágenes en memoria: oImgBox:Do("ClearPdf") 3.- Declara la función de manejo de eventos: oImgBox:bOnEvent := {|event, aParams, pParams| ::EventCapt(event, aParams, pParams, oImgBox)} La funcion on EventCapt es más o menos así: METHOD EventCapt( ...
... de FWH desde Javascript o VBscript ? No lo hemos probado nunca, habria que investigar la forma de hacerlo. Yo me refería al uso de oActiveX:bOnEvent. Por favor revisa FWH\samples\webexp.prg y verás como lo usamos para reaccionar a los eventos que se generan en la página web.
Antonio; I realized that I wasn't doing anything with bOnEvent, so I changed the line to this: ::oActiveX:bOnEvent := { |e, a| logfile( "trace.log", {EventInfo( e, a ) } ) } The following information gets logged as soon ...
... en blanco. Mismo caso para WebExp3.prg Para compilar uso buildx webexp3 En la versión 805 los samples funcionan. Da la impresión que oActiveX:bOnEvent no se está ejecutando. Saludos
Hi fGamboa You can't use oActiveX:bOnEvent if used CreateOleObject(). This features return a handle and not a object. If use oActiveX = TActiveX():New( oWnd, "GrFingerX. GrFingerXCtrl.1 ") the result is better. I post this code below to ...
Gale, Can you get the webexp.prg sample in \fwh\samples to work using xBuilder? Antonio posted a link here recently for a new activex.lib we should link instead of the one that comes with xHarbour. I cannot get it to work which makes me think there is some incompatibilities using FWH ActiveX with x...