<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>25 Aug 2020 22:38:00 Z</lastBuildDate><pubDate>24 Jul 2020 21:58:47 Z</pubDate><description>Hi, as I am  new with WinDev I encounter next challenge: &#13;
in Base Class I made a void method, eg : HEADER&#13;
I need the Base Class to use the actual method from the derived Class, also named HEADER,&#13;
&#13;
So in Base and Derived Class I wrote (but his doesn't work):&#13;
MakeDoc is Class&#13;
...&#13;
procedure virtual HEADER( )&#13;
	// no code&#13;
...&#13;
procedure AddPage( )&#13;
	...&#13;
	Header( ) // at this place the method of the derived class need to be used&#13;
	....&#13;
=================&#13;
Derived Class:&#13;
ActualDoc is MakeDoc&#13;
...&#13;
Procedure HEADER( )  // actual Method to be used by base class AddPage() !!&#13;
	Trace("making header")&#13;
...&#13;
ActualDoc.Addpage( )&#13;
&#13;
(Normally you override a Base-Method from the Derived Class, with a method IN the derived class.&#13;
Here I need to override a Base-Method within the Base Class, with a method IN the derived class.)&#13;
Thanks&#13;
Paul</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class/read.awp</link><title>Base class uses method from derived class</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Paulus604</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67949/read.awp</comments><pubDate>25 Aug 2020 22:38:00 Z</pubDate><description>As mentioned by Peter! I Almost forgot...</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67949/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67949/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class/read.awp">Base class uses method from derived class</source><title>Re: Base class uses method from derived class</title></item><item><author>Paulus604</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67948/read.awp</comments><pubDate>25 Aug 2020 22:36:53 Z</pubDate><description>Meanwhile in the Netherlands.....&#13;
Problem solved!  As I was used to instantiate direct form a class and add the overload method…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67948/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67948/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class/read.awp">Base class uses method from derived class</source><title>Re: Base class uses method from derived class</title></item><item><author>Paulus604</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67939/read.awp</comments><pubDate>18 Aug 2020 22:38:18 Z</pubDate><description>Hello Peter, Thanks for your input. I will try to explane more:&#13;
I'm rewriting code from Visual Objects (C++ ish) to Windev. In …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67939/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67939/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class/read.awp">Base class uses method from derived class</source><title>Re: Base class uses method from derived class</title></item><item><author>PeHoBe</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67923/read.awp</comments><pubDate>4 Aug 2020 17:45:22 Z</pubDate><description>Hi Paulus&#13;
&#13;
There are some issues with your declarations...&#13;
And I think that what you want to do doesn't make any sense design…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67923/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class-67923/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67912-base-class-uses-method-from-derived-class/read.awp">Base class uses method from derived class</source><title>Re: Base class uses method from derived class</title></item></channel></rss>
