New topic: Subclass Toolbar
<http://forums.realsoftware.com/viewtopic.php?t=30694> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message pascal4 Post subject: Subclass ToolbarPosted: Tue Oct 27, 2009 9:14 am Joined: Fri Jun 26, 2009 4:27 am Posts: 30 Hi, I want to subclass a toolbar, but I can't get it to work as I want. I created a new class and named it myToolbar with super class Toolbar. In this class I created a new Action event: Action(item As Toolitem) In it's action event I just wrote: msgbox("Action") Action(item) Now I created a new Toolbar in my Project and have set it's super class to "myToolbar" Then I added a button and dragged the toolbar to my main window. When I click on the button ... no message box! What's wrong in my idea? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
