Why doesn't menupick work

J. Landman Gay jacque at hyperactivesw.com
Wed Aug 20 22:17:09 EDT 2014


On 8/20/2014, 8:08 PM, revolution at duncansoftware.on-rev.com wrote:
> Why doesn't  this code work?
>
> on menuPick pItemName
>     go card pItemName
> end menuPick
>
> where the comboBox has a list of card names.

Set a breakpoint at the "go" line and when it pauses, see what's in 
pItemName and whether there's a card with that name. You can also 
temporarily add "answer the result" after the "go" statement; maybe 
there's a silent error happening.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list