New topic: 

BevelButton with menu

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

       Page 1 of 1
   [ 7 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: 190              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: 978
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: 190              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               lenpartico           Post 
subject: Re: BevelButton with menuPosted: Wed Dec 02, 2009 6:16 pm              
          
Joined: Fri Sep 30, 2005 10:49 pm
Posts: 161              Try it in the MouseDown event
Lennox.   
                            Top               qbap           Post subject: Re: 
BevelButton with menuPosted: Wed Dec 02, 2009 7:03 pm                           
    
Joined: Fri Oct 02, 2009 1:02 pm
Posts: 20
Location: POLAND              Hello,

you can find here a solution for creating Popup Menu for PushButton Control

http://realbasic.tutspolis.com/tutorial ... realbasic/     
_________________
web: http://realbasic.tutspolis.com/  
                            Top                vkozme           Post subject: 
Re: BevelButton with menuPosted: Thu Dec 03, 2009 12:52 am                      
  
Joined: Fri Oct 21, 2005 7:51 pm
Posts: 190              qbap, thank you very much!
You helped a lot! You have a good site. Do you plan to add a tutorial for 
reading a text file or writing into a text file? Any plans on the threads?
Good luck, I bookmarked your site!
vkozme   
                            Top               qbap           Post subject: Re: 
BevelButton with menuPosted: Thu Dec 03, 2009 2:59 pm                           
    
Joined: Fri Oct 02, 2009 1:02 pm
Posts: 20
Location: POLAND              There is a tutorial for that  

http://realbasic.tutspolis.com/tutorial ... realbasic/     
_________________
web: http://realbasic.tutspolis.com/  
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 7 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