New topic: 

BevelButton with menu

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

       Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic         Author  
Message       vkozme           Post subject: BevelButton with menuPosted: Wed 
Dec 02, 2009 5:25 pm                        
Joined: Fri Oct 21, 2005 7:51 pm
Posts: 189              Hi,
Is it possible to create something like BevelButton with menu on the right but 
without the button itself, just a text.
Basically, I am looking for a combination of StaticText and BevelButton with 
menu functionality. They have implemented this beautifully in the toolbar 
button.
Any suggestions how to do it?
Thank you in advance.
vkozme   
                            Top               Pariahware           Post 
subject: Re: BevelButton with menuPosted: Wed Dec 02, 2009 5:39 pm              
                 
Joined: Fri Sep 30, 2005 10:00 am
Posts: 977
Location: Raleigh, NC              You can make this yourself.  Check the 
MouseUp event of a static text and, in code, create a menu and use the 
MenuItem.Popup function.     
_________________
Christian
Pariahware, Inc.
Mac, Windows, Linux, & iPhone Consulting
[email protected]
http://www.pariahware.com/

The Association of REALbasic Professionals
http://www.arbp.org/
--
God loved you so much that He gave His only son Jesus.  What have you done with 
God's gift?  
                            Top               vkozme           Post subject: 
Re: BevelButton with menuPosted: Wed Dec 02, 2009 6:00 pm                       
 
Joined: Fri Oct 21, 2005 7:51 pm
Posts: 189              Hi, Christian,
I tried to do what you recommend using ToolItem Language Reference as a sample 
but I have done something wrong.
Can you give a sample code how to create a menu?
Thank you.
vkozme   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]     
-- 
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