New topic: 

A Simple Menu Question (I think)

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

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        barrytraver          Post subject: A Simple Menu Question (I 
think)Posted: Wed May 15, 2013 4:16 am                         
Joined: Fri Sep 30, 2005 1:53 pm
Posts: 897
Location: Philadelphia, PA                I rarely use menu bars in my 
programs, because (at least on Windows) you can use only System 0 as the font 
and on my monitor that is too small for me to read comfortably.  But for what 
I'm working on now, I have to use that kind of menu and I've run into a 
problem, probably a simple question for most people but not simple for me, 
since (as I said) I rarely use menu bars in my programs.

I want to add a separator bar to my menu.  I add it, and you can see that I've 
added it, but it disappears when the program is run, even I include this code 
before I access the menu.

mnuSeparator1.Enabled = True
mnuSeparator1.Visible = True

whereas regular menu items show up and do what they are supposed to do.

Now, separator bars don't do anything, so I suppose in a sense it isn't really 
important that they don't show up, but I'm not comfortable about that. (For one 
thing, I have a vague memory that  I ran across a similar problem years ago but 
with a regular menu item rather than a separator line.  Unfortunately, I can't 
find that question and answer.)

Any ideas as to what I may be doing wrong?  (And I won't get upset if you tell 
me that I should have remembered such a simple thing.)

Thanks in advance for your thoughts.

Barry Traver   
                             Top                kermit          Post subject: 
Re: A Simple Menu Question (I think)Posted: Wed May 15, 2013 9:43 am            
             
Joined: Mon May 30, 2011 12:56 am
Posts: 690                (Unhelpful, I know, but this has sat unanswered all 
day...)
They work for me... nothing special required.
I just add a menu item at design time, and set it to have a hypen as a caption  
-
What OS are you on, and what version of RB?

Can you export the menu bar as XML and post it here in response? I'll try it on 
my setup.
Might you have two menus: showing different ones according to which window is 
open?   
                             Top                DaveS          Post subject: 
Re: A Simple Menu Question (I think)Posted: Wed May 15, 2013 12:43 pm           
                      
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4870
Location: San Diego, CA                New MenuItem(MenuItem.TextSeparator)     
 
_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             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