realbasic-nug
[Top] [All Lists]

Subclassing toolbutton / toolitem ?

To: REALbasic Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Subclassing toolbutton / toolitem ?
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Fri, 29 Jun 2007 12:32:41 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Has anyone had success creating subclasses of toolbuttons / toolitems ?

I've created one called myToolButton, set the super in the toolbar  
editor but in the action event code like

   if item isA myToolButton then
      msgbox "selected your sublcass"
   else
      msgbox "selected something else"
   end if

seems like some kind of bug to me
<http://www.realsoftware.com/feedback/viewreport.php?reportid=cjxecfje>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>