Dynamically Building an Option list

Ken Ray kray at sonsothunder.com
Thu Jul 5 19:20:27 EDT 2007


On Thu, 5 Jul 2007 15:35:29 -0500, Stephen Barncard wrote:

>>     ----xxxxxxxx----put userList into button "Users"
> 
>      set the text of button "Users" to userList
> 
> (assuming that userlist is a return delimited list)

"put <data> into button <buttonName>" works fine too... as  Roger Eller 
posted, the one-liner method is probably best:

put URL "file:C:\path\to\my\file\USERLIST.txt" into btn 
"UserListOptionMenu" 

Just my 2 cents,

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/




More information about the use-livecode mailing list