when declaring a method for a class this method should be available in all its subclasses:
- Code: Select all
Declare Function "NSControl" -(void)test
Dim theButton As NSButton ' subclass of NSControl
theButton.test() ' doesn't compile although it should - have to re Declare the Method for NSButton
Regards
Udo