Mac Menubar Again...
Sarah Reichelt
sarahr at genesearch.com.au
Fri Jan 21 02:03:57 EST 2005
The Mac menus DO respond to the mouseDown, but they don't know which
menu has been selected.
If you have a mouseDown handler in the menubar's group, it will be
triggered, but you will have to set ALL the menus at that point as you
have no way of knowing which is going to be displayed. (In Mac's once
the mouse button is clicked down in a menubar, it can be moved from
side to side and will display any menus under the pointer.)
Cheers,
Sarah
On 21 Jan 2005, at 4:47 pm, Chipp Walters wrote:
> OK, on Windows, I use a mouseDown handler to preset the checks for a
> menu. For instance, I can set a menu to put a checkmark next to the
> font for the currently selected text, before the menu is drawn. Nice
> and easy.
>
> Since Mac menubars don't respond to mouseDown, how does one do this
> for Macs? Please don't tell me I have to change all the menus
> everytime someone selects text :-(
>
> Any and all ideas welcome!
>
> TIA,
>
> Chipp
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
More information about the use-livecode
mailing list