[futurebasic] Re: [FB] + and - for zoom in menus

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2010 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Thu, 28 Jan 2010 16:06:43 -0500
Note, I don't have a standard window menu in my program, I build  
it...that is because I have like 7 palettes to add. I stick my window  
items after that , manually.

Old code though. They didn't have Standard Window menus back in 2001  
I don't think, or I wasn't aware of them.

rc

On Jan 28, 2010, at 4:02 PM, Robert Covington wrote:

> My docs have little widgets at bottom left to handle zoom needs. I  
> have a user requesting a manual + and - Zoom, same as Safari and  
> others do for Command - ( + ) to Zoom in, and Command - ( - ) to  
> zoom out.
>
> One may note that despite the menu command character in the menu  
> saying command  +, which requires the shift key to actually type as  
> '+' in use, that the Safari menu responds exactly as if they typed  
> ONLY Command  and = (the equals) instead of the additional Shift as  
> well to get the +...so it is trapping the Equals sign I guess,  
> despite it saying +.
>
> So I'm wondering how to implement this the best way in FB, since I  
> only get the Plus (+) character sending to my MENU function, when  
> also adding Shift!
>
> I can manually trap for the = sign and implement it as Plus  
> behavior, which also allows Command + Shift  and + to work still,  
> but the menu does not flick then?
>
> I'm tired and rusty lately, so forgive if this is blatantly obvious.
>
> Basically the issue is, they have the + key on the menu item, but  
> the = sign or Equals key plus apple key (command) is engaging it  
> regardless.
>
> So...?
>
> rc
>
> --
> To unsubscribe, send ANY message to: futurebasic- 
> unsubscribe@...
>