Showing and hiding menu bar within built app

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

Showing and hiding menu bar within built app

Post by gyroscope »

Hi, is there some coding which would make the Menu Bar in a Mac RR app to be hidden, to only show when the mouse is within a certain distance from it, then to hide again when the mouse is outside of this certain distance, does anyone know please :?:
Obleo
Posts: 174
Joined: Mon Apr 10, 2006 10:35 pm
Contact:

Post by Obleo »

you can use the hide menubar and show menubar bar commands

with The mouseLoc function. If the mouse pointer is x pixels from the top of the ScreenRect it could show the menubar and y pixels away could hide the menubar.

I have not tried it but can not see why it should not work.

Actually just poking around I also found the screenMouseLoc property witch may help with this.
gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

Post by gyroscope »

Thanks Obleo, I obviously didn't have my thinking head on (I'm tending to misplace it more and more these days... :wink:)

I'll give that a whirl tomorrow.

:)
Post Reply