Thanks Paul, I'll give that a whirl. Pete lcSQL Software <http://www.lcsql.com>
On Sat, Dec 29, 2012 at 8:53 PM, Paul Hibbert <[email protected]> wrote: > AFAIK you can't auto highlight the previous menu choice for a pulldown > menu (although I may be wrong), but you can add a checkmark to the current > choice. > > If its any use to you, try this slightly modified script from the LC > Resources… > > on menuPick pItemName > > ## Add a checkmark to the current choice > put the menuHistory of me into tChoice > put the uCheckedLine of me into tChecked > replace "!c" with empty in line tChecked of me > put "!c" before line tChoice of me > set the uCheckedLine of me to tChoice > > ## Do something with the current choice… > answer "You chose" && quote & pItemName & quote & "." > > end menuPick > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
