Dirk Herijgers wrote:
>
> 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() ?
if you know the class then ismethodclass and sendclass are worth
considering.


|