::Classname()

::Classname()

Postby fp » Fri Nov 24, 2006 9:10 am

I want to create own classes inherit e.g. from TDialog like

Code: Select all  Expand view
CLASS MYTDIALOG FROM TDIALOG

DATA ...
METHOD ...

ENDCLASS


But now, the Method ::ClassName() returns "MYTDIALOG".

As I see, some methods check for ::Classname() like

Code: Select all  Expand view
IF ::ClassName() $ "TDIALOG,..."


so "MYTDIALOG" is not checked.

Is that a problem?

Thanks.
Frank-Peter
User avatar
fp
 
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany

Postby Patricio Avalos Aguirre » Fri Nov 24, 2006 2:50 pm

Code: Select all  Expand view
CLASS MYTDIALOG FROM TDIALOG

DATA ...
METHOD ...
METHOD ClassName() INLINE "TDIALOG"

ENDCLASS



Saludos
Patricio
User avatar
Patricio Avalos Aguirre
 
Posts: 1060
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Otto and 55 guests