Super

Super

Postby Natter » Tue Dec 16, 2008 10:58 am

Hi, all !

I override method HandleEvent of TDialog class, but I get error:
Variable not exist: SUPER
How I get SUPER ?
Natter
 
Posts: 1215
Joined: Mon May 14, 2007 9:49 am

Postby AHF » Tue Dec 16, 2008 11:12 am

Did you defined a new class from tdialog ?

Super refers to the upper class in your case should be tdialog.
Since its not defined it seems that you defined a new class and not innherit from tdialog.

Antonio
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Postby Natter » Tue Dec 16, 2008 11:19 am

Thank ANF !
I not want write new class, I want use:
Override method <NameMethod> In class TDialog With <MyFunction>
Natter
 
Posts: 1215
Joined: Mon May 14, 2007 9:49 am

Postby Natter » Tue Dec 16, 2008 11:33 am

Thanks. I resolved this problem
Natter
 
Posts: 1215
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests