Option Menu Specifics

Mark Wieder mwieder at ahsoftware.net
Mon Feb 8 13:49:00 EST 2010


Andrew-

Monday, February 8, 2010, 10:26:11 AM, you wrote:

> here is the logic which I had in mind.

> Load gLandownerContact into the text of "optionMenu"
> on optionMenu's MouseUp (down, whatev),
> Load a the full list from DB.

you might try something like

put lineOffset(gLandOwnerContact, tFullList) into tIndex
put tFullList into button "btnOptionMenu"
lock messages -- don't trigger the menuPick event yet
set the menuHistory of button "btnOptionMenu" to tIndex
unlock messages

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list