realbasic-nug
[Top] [All Lists]

Re: Subclassing toolbutton / toolitem ?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Subclassing toolbutton / toolitem ?
From: Brad Rhine <support at bradrhine dot com>
Date: Fri, 29 Jun 2007 14:36:29 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <F35287D1-C62E-45F7-9DD9-9E847DE17EC1 at great-white-software dot com>
On Jun 29, 2007, at 2:32 PM, Norman Palardy wrote:

> 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>

It was a while back, but I remember running into some trouble with  
subclasses ToolItems. What are you trying to accomplish? Maybe  
there's a workaround...

--
Brad Rhine
http://bradrhine.com
AIM:bradrhine
Tangelo: Web Publishing... With A Twist!
_______________________________________________
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>