Getting the line number from "on menupick"
J. Landman Gay
jacque at hyperactivesw.com
Thu Nov 12 19:02:41 CST 2009
DunbarX at aol.com wrote:
> I could not get a valid line number for a submenu. I understand using a
> secondary routine to find the line number in the button contents, since I can
> find the menuPicked text, but are you saying you can get the line number
No, I was only saying what you describe -- getting the lineoffset of the
menupick param in the contents of the button. But that relies on each
menu item being different, which I don't see as a disadvantage. I can't
think of any software where duplicate menu items would be considered okay.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode