Hi All,
I have found troubles to find out of a method exist in a parent class.
Let me explain:
In the SDK, I found following:
Method Controlnotify(...) Class Window
...
OTHERWISE
IF IsMethod(oControl, #ParentNodify)
... := Send(oControl, #ParentNofity, ...)
ENDIF
ENDCASE
...
So Now, I can write a Method ParentNotify(...) on a Control: f.e.
Class MySpecialControl INHERIT DateTimePicker or MonthCalendar
Method ParentNotify(...) Class MySpecialControl
... Here, I can write my own code
IF IsMethod(SUPER, #ParentNodify) // Here is the problem!!
... := Send(SUPER, #ParentNofity, ...)
ENDIF
How can I see of the super-class has a Method named ParentNotify() ?
In case MySpecialControl-class was inherit from DateTimePicker, then
this method exist standard in VO 2.8 SP2, but
In case MySpecialControl-class was inherit from MonthCalendar, then
this method does NOT exist standard in VO 2.8 SP1, but maybe this
method will standard exist in VO 2.8 SP2, so...
Can some-one help me ???
Dirk, Belgium
--


|