<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>20 Mar 2015 15:31:00 Z</lastBuildDate><pubDate>21 Sep 2012 00:31:22 Z</pubDate><description>Hi, &#13;
&#13;
I was thinking about writing a class for my spread control (that I use a lot)  - so I could reuse it several times in the same project and in other projects without copy/paste of code, just the class. - But one question raises before I even coded 1 char :) &#13;
&#13;
How do a class hande events ?&#13;
&#13;
say I have an event like: &#13;
&#13;
ActiveXEvent(RowMove,fpsL,"LeaveCell")&#13;
&#13;
Now I want the code for the derived class to get the event, and run ClassName.rowMove method. - Is this possible or just a dream :) &#13;
&#13;
Second I would like the class to hold the definitions of all the:&#13;
&#13;
ActiveXEvent(METHODS,ClassName,SPREAD:EVENTS)&#13;
ActiveXEvent(METHODS,ClassName,SPREAD:EVENTS)&#13;
&#13;
Is this possible ? &#13;
&#13;
Cheers&#13;
Tor-Bjarne</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx/read.awp</link><title>Defining a Class for an activex/Ocx</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>giavardistefano78</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx-51080/read.awp</comments><pubDate>20 Mar 2015 15:31:00 Z</pubDate><description>I resume this post because I'm actually trying to do the same thing with no success.&#13;
&#13;
I defined a "Grid" class to handle the g…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx-51080/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx-51080/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx/read.awp">Defining a Class for an activex/Ocx</source><title>Re: Defining a Class for an activex/Ocx</title></item><item><author>arisidanilo</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx-51077/read.awp</comments><pubDate>20 Mar 2015 15:05:30 Z</pubDate><description>Hi,&#13;
I have the same problem!!&#13;
I've tried to use ActiveXEvent(method, control, eventmessage) in the contructor of the object, b…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx-51077/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx-51077/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/36889-defining-class-for-activex-ocx/read.awp">Defining a Class for an activex/Ocx</source><title>Re: Defining a Class for an activex/Ocx</title></item></channel></rss>
