I am using this code to redefine the method Click () for the class ToolBar.
I am trying to use the code shown below so that the Click () method gets redefined for all the classes derived from AnyWin including ToolBar. But it doesn't work. Any use of Click () uses the original Click () method but not the redefined one. Could someone help me?
I have encountered this problem and spoke to some of the Segue guys at Quest '99 about it. Unfortunately, inhertiance from the existing classes is not possible outside the class.inc. So you have two options,
1. add the new method for the AnyWin class in the class.inc (remember to backup your existing class.inc!!), or
2. create a new class with the method and then (in the class.inc) derive the AnyWin class from this.
I hope that this helps.
[This message has been edited by John O'Neill (edited 08-08-2000).]