On Monday, June 30, 2003, at 07:24 AM, Steve Crossman wrote: > Robert, > Your suggestion below did not work. When I click on the menu, I want > the last selected menu to be selected in the pop-up. When I click on > the menu, nothing is selected. It's The Bevel Factor it would seem. See RP's example in his post which follows (or precedes, given warp factors)... my menu's are not bevel buttons, thus what I posted works fine for me. > The FB translation is: > > toolbox fn SetBevelButtonMenuValue( ControlRef inButton, SInt16 > inValue ) = OSErr > > dim as OSErr err > err = fn SetBevelButtonMenuValue( button&( _myBevelBtn ), whatEver ) Cool! That will be handy. You bevel believe it. Robert Other treboR >> How do I get a certain menu item to be selected when clicking on a >> bevel - menu or any pop-up menu for that matter? >> If, for example, in a font size menu, 14 point size is the current >> size, how do I make it the selected automagically when click the >> pop-up menu. I always get the first item, or no item selected. >> >> Steve >> >> >> From: Robert Covington <artlythere@...> >> Make your menu, then at some point after just set it to: >> >> Appearance button _ Your PopBtnID,, desired >> >> I do mine after I have created it, and just before making the window >> visible. You can probably do it when making it too. >> >> Ken (I do believe) showed me this trick for getting it to show up >> more instantly (like when using a key filter) on certain occasions >> >> appearance button -_YourPopBtnID,, desired >> appearance button _ Your PopBtnID,, desired