[futurebasic] Re: [FB] Menu Highlighting

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2006 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Sat, 30 Dec 2006 21:14:01 +1300
maxclass@... wrote:

> Can anyone tell me why when I select a menu item in a project,  
> under 10.4.8. , that I have to select the menu again to unhilite it  
> and/or release it.
> Example of use:
> glMenuTheChoice = fn menuselect( EventRecPtr.meWhere )
> HiliteMenu( 0 )
> I thought the "HiliteMenu( 0 )" command was suposed to release the  
> menu.

 From Apple's documentation of HiliteMenu:
"If the menu ID is 0 or the specified menu ID isn’t in the current  
menu list, HiliteMenu unhighlights whichever menu title is currently  
highlighted (if any)."

Please post a fuller code snippet that reproduces your problem.

Robert P.