Hello,
Does anyone have any thoughts on the functionality of this. Is this a
bug?
You should be able to redirect the app.menubar and it should just
handle it, without having to close any windows. Right?
Thanks,
Joshua
On Mar 28, 2006, at 9:07 AM, Joshua Demori wrote:
I am not sure if I am doing this right but here goes.
I have an windows application
in the app class I assigned none to the menu bar property
the problem seems to be when switching menubars
I need to be able to handle different menubars without a window
within the mdi to actually handle it so i use the app class
it seems to only work if the window in which changed the menubar is
physically closed not hidden; hidden doesn't work
heres an example
App menubar = none
-----------------------------------------
App property
wind as window
------------------------------------------
App.open() App.menubar = menubar1
//menu handler
App.options.quit() Quit
App.options.newWindow() wind = new window1
wind.show()
--------------------------------------------
window1.bevelbutton1.action App.menubar = menubar2 // this
one does not work the menu bar will not handle the
event unitl the window is closed
window1.bevelbutton2.action App.menubar = menubar2
Self.close // For some
reason closing this window allows you handle the new
menubar set
------------------------------------------------------
Menu bar 1
---------------------------------------
| |Options| |
---------------------------------------
| New Wind |
-----------------
Menu bar 2
----------------------------------------
| |Options| |
----------------------------------------
| Quit |
---------
window1
-------------------------------------------------------
| |
| --------------------- |
| | Bevelbuton1 | |
| ---------------------- |
| |
| ---------------------- |
| | Bevelbuttton2 | |
| ----------------------- |
| |
-------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>