menuHistory and menuPick

Lynch, Jonathan BNZ2 at CDC.GOV
Mon Jan 10 17:28:25 EST 2005

Can you construct it to be chosen during opencard, rather than
preopencard? Preopencard can be little tricky sometimes.

-----Original Message-----
From: use-revolution-bounces at
[mailto:use-revolution-bounces at] On Behalf Of Chris
Sent: Monday, January 10, 2005 5:26 PM
To: RevList
Subject: menuHistory and menuPick

I have an option button for which I am setting the menuHistory like:

   set the menuHistory of btn "Level" to tLineNum

And then there's a menuPick handler in the button's script that performs
additional tasks.  But the menuPick handler doesn't always fire.  Does
anyone know of any reason why setting the menuHistory of a button would
cause a menuPick message to be sent as well?  The above script is called
during preOpenCard, and, like I said, the menuPick handler is in the
of the button.  It seems that the only time it fails is when I very
come into the card.  If I do a "send preOpenCard" after that, menuPick
sent normally.  Any ideas?


Chris Sheffield
Software Development
Read Naturally

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 1/6/2005

use-revolution mailing list
use-revolution at

More information about the Use-livecode mailing list