::Classname()

Post Reply
User avatar
fp
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany

::Classname()

Post by fp »

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

Code: Select all

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

IF ::ClassName() $ "TDIALOG,..."
so "MYTDIALOG" is not checked.

Is that a problem?

Thanks.
Frank-Peter
User avatar
Patricio Avalos Aguirre
Posts: 1028
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile
Contact:

Post by Patricio Avalos Aguirre »

Code: Select all

CLASS MYTDIALOG FROM TDIALOG

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

ENDCLASS 

Saludos
Patricio
Post Reply