dynamic menus

MisterX x at monsieurx.com
Mon Sep 8 13:32:02 EDT 2003


you can build your menu in the mousedown or mouseenter handler

on mousedown
  get mymenu()
  put it into me
end mousedown

on menupick...
  -----Original Message-----
  From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of
FlexibleLearning at aol.com
  Sent: Monday, September 08, 2003 20:14
  To: use-revolution at lists.runrev.com
  Subject: Re: dynamic menus


  Hello, anyone have a tutorial or something describing creating dynamic
  menus?

  Basically what I am doing is creating a playlist for an MP3 player. I
  am opening an external text file that contains the song info . I am
  turning this info into an array in revolution and want to loop through
  and print it to the stack each as a clickable text , or a button.??

  any ideas



  Parse the title and path into two line-matched variables, or use an array.
Set the text of btn "PlayList" to tVarTitles, then On menuPick which, get
the menuHistory of me, play line it of tVarSourcePaths.

  Just an idea.

  /H
  _________________________________________________
  Hugh Senior
  The Flexible Learning Company
  Consultant Programming & Software Solutions
  Fax/Voice: +44 (0)1483.27 87 27
  Email: mailto:h at flexibleLearning.com
  Web: www.flexibleLearning.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20030908/930fba45/attachment.html>


More information about the use-livecode mailing list