From: Eytan H. <ey...@tr...> - 2000-12-03 09:37:08
|
I too have found the code very complicated. For that reason I wanted to simplfy it and make it even more OOP. To do that I wanted to create a simple type MyObject. Which would be an empty object that all other non-visual widgets inherit from. And then create one widget Component which would inherit from object. Component would have a DynLayer property and on it all the visual parts would be drawn. The only problem is I keep trying to do inheritence in different wayys and it always fails. How do you do simple JS inheritence. Eytan |