Popup menu selection

2010-02-18 Thread Jeffrey Massung
I have a couple pop-up button menus that I create on-the-fly (in mouseDown) based on what's going on. They also act as combo box selections, where one of the items is current, with !r in front of it. Is it possible for me to somehow tell the popup to auto-magically scroll down to the current

Re: Popup menu selection

2010-02-18 Thread Richard Gaskin
Jeffrey Massung wrote: I have a couple pop-up button menus that I create on-the-fly (in mouseDown) based on what's going on. They also act as combo box selections, where one of the items is current, with !r in front of it. Is it possible for me to somehow tell the popup to auto-magically

Re: Popup menu selection

2010-02-18 Thread Trevor DeVore
On Feb 18, 2010, at 10:33 AM, Richard Gaskin wrote: To counter this, Ken Ray and I have adopted a habit of using a handler like this one to set an option control's current choice: on SetOption pBtnName, pNum lock messages set the menuHistory of btn pBtnName to pNum unlock messages end

Re: Popup menu selection

2010-02-18 Thread Richard Gaskin
Trevor DeVore wrote: On Feb 18, 2010, at 10:33 AM, Richard Gaskin wrote: To counter this, Ken Ray and I have adopted a habit of using a handler like this one to set an option control's current choice: on SetOption pBtnName, pNum lock messages set the menuHistory of btn pBtnName to pNum

Re: Popup menu selection

2010-02-18 Thread Trevor DeVore
On Feb 18, 2010, at 1:57 PM, Richard Gaskin wrote: While looking into the lockMessages property recently I came across this note: The lockMessages property is automatically set to false when a palette, modeless, or modal stack is opened, even if a handler is still running. This

Re: Popup menu selection

2010-02-18 Thread stephen barncard
Hi Gang, This brings me right to an issue I'm having. I have a tricky thing that uses several cards in a single stack used as a drawer. I want to go cleanly to a certain card in the stack before the drawer is displayed. What's the best way to make the drawer open cleanly without showing another

Re: Popup menu selection

2010-02-18 Thread Jeff Massung
Stephen, I haven't tried it, but can you use the go invisible command to go to the card and then use the drawer command to display the stack as a drawer? Jeff M. On Thu, Feb 18, 2010 at 2:09 PM, stephen barncard stephenrevoluti...@barncard.com wrote: Hi Gang, This brings me right to an