EnricoMaria wrote:concentra wrote:Where can I find a tutorial and/or documentation about how to create and inherit FWH classes ?
Best documentation is FWH source code.
I tried but could not figure out what is wrong with my code.
I thought I needed to study a little if some docs are avaiable.
EnricoMaria wrote:
concentra wrote:I am triing to inherit a class from another because I need to add a method.
I am getting an error that I don´t have if I use the original class.
The object seems not ot be created at all...
The code is something like this:
Class CL2 from CL1
METHOD PrintCl()
ENDCLASS
METHOD PrintCl() class CL2
alert("CL2")
return NIL
Can you build a little real (compilable) sample of the problem?
I am triing to add some methods to the SuperBrowse class without modifiing it, and so I tried to inherit it, creating a particular class.
I will try to find what is wrong with the code with the help you gave me and if I can´t I will try to post complete code.
EnricoMaria wrote:
concentra wrote:Questions:
Al the CL1 methods are avaiable in CL2 ?
Yes.
concentra wrote:Do I need a constructor/destructor method or the CL1 one is used ?
Yes, you need of a constructor.
EMG
[[]] MaurĂcio Faria