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


Groups > comp.lang.clipper.visual-objects > #6933

Re: Catch ActiveX events in VO

From "Jamal" <someone@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Catch ActiveX events in VO
Date 2014-06-06 12:10 -0400
Organization Aioe.org NNTP Server
Message-ID <lmsp4v$34o$1@speranza.aioe.org> (permalink)
References <52d22b90-4016-487b-a2fa-9fd000769318@googlegroups.com>

Show all headers | View raw


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 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web