Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6932 > unrolled thread

Catch ActiveX events in VO

Started byStefan Überbacher <info@sanosoft.com>
First post2014-06-06 08:53 -0700
Last post2014-06-06 12:10 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Catch ActiveX events in VO Stefan Überbacher <info@sanosoft.com> - 2014-06-06 08:53 -0700
    Re: Catch ActiveX events in VO "Jamal" <someone@example.com> - 2014-06-06 12:10 -0400

#6932 — Catch ActiveX events in VO

FromStefan Überbacher <info@sanosoft.com>
Date2014-06-06 08:53 -0700
SubjectCatch ActiveX events in VO
Message-ID<52d22b90-4016-487b-a2fa-9fd000769318@googlegroups.com>
Hi all,

you can catch an ActiveX event with a method whose name consists of the HyperLabel name of the OLE control and the name of the event. I would like to know how the event is handled in the underlying ActiveX to allow the OLE client this kind of call. Has anyone an idea?

Stefan

[toc] | [next] | [standalone]


#6933

From"Jamal" <someone@example.com>
Date2014-06-06 12:10 -0400
Message-ID<lmsp4v$34o$1@speranza.aioe.org>
In reply to#6932
Assume the activex event name you want to trap is Progress and VO Ole 
control name is Test, so event name would be: TestProgress

For example:

METHOD TestProgress(val1 AS STRING, val2 as DWORD, etc...) AS LOGIC PASCAL 
CLASS MyWindow
        // code...
RETURN lResult

The arguments and return value could different in your case. Note the method 
is strongly typed and must be declared with DECLARE METHOD TestProgress in 
the MyWindow class.

HTH,
Jamal

"Stefan Überbacher"  wrote in message 
news:52d22b90-4016-487b-a2fa-9fd000769318@googlegroups.com...

Hi all,

you can catch an ActiveX event with a method whose name consists of the 
HyperLabel name of the OLE control and the name of the event. I would like 
to know how the event is handled in the underlying ActiveX to allow the OLE 
client this kind of call. Has anyone an idea?

Stefan 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web