New topic: 

Toolbutton menu

<http://forums.realsoftware.com/viewtopic.php?t=34008>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        brianheibert          Post subject: Toolbutton menuPosted: Fri 
May 28, 2010 9:13 pm                                 
Joined: Sat Jan 23, 2010 3:03 pm
Posts: 189
Location: Loveland,OH 45140                Hi,

I am creating tool butttons for my toolbar using...
It works so far, but I want to put a menu in the Compile toolbutton
The below code creates the icons in the toolbar but won't add a menu to the 
compile toolbutton
I forgot,  how do I do that?

Brian

Code:  Dim RunButton as ToolButton
  RunButton = New ToolButton
  RunButton.caption = "Run"
  RunButton.name = "Run"
  RunButton.icon = run
  RunButton.style =  ToolButton.ToolStylePushButton
  Me.append RunButton
  
  Dim CompileButton as ToolButton
  CompileButton = New ToolButton
  CompileButton.caption = "Compile"
  CompileButton.name = "Compile"
  CompileButton.icon = compile
  CompileButton.style = ToolButton.ToolStyleDropDown
  Me.append CompileButton
      
_________________
Brian Heibert
heibert.net
insanemonkeysoftware.com
[email protected]  
                             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]

Reply via email to