realbasic-nug
[Top] [All Lists]

Re: Hiding a windows menubar?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Hiding a windows menubar?
From: Will Leshner <leshner at ljug dot com>
Date: Mon, 31 May 2004 09:28:15 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
References: <20040531153924 dot 7CB3C1FFCC8 at lists dot realsoftware dot com> <D17B54E4-B31E-11D8-AE5F-0003939E1894 at gm4jjj dot co dot uk>
David Anderson GM4JJJ wrote:

Set the Window.MenuBar property to Nil and that will remove the bar from the
window.


I have tried that in Linux , setting the menubar property to my menu when the window is activated - that works, but setting it to Nil when deactivating the window causes an error. Failed Assertion:4
./Common/ClassLib/RuntimeWindow.cpp:826 failure Condition:newMenuBar (null)

Yep. That's a bug and should be reported. What happens if you just continue 
after that? Do you crash?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>