Random Name Generator

Robert Sabo viper4559 at yahoo.com
Thu Dec 30 12:37:56 EST 2004


> 
> Suppose you had a list field called "User Names"
> which will contain the list
> of user names, and a separate field called "Selected
> User" which will
> contain the name of the randomly selected user name
> from the "User Names"
> field. Add to this a button that says "Go", and you
> have this:
> 
> -- Script of button "Go"
> on mouseUp
>   put any line of field "User Names" into field
> "Selected User"
> end mouseUp
> 
> Easy, no?
> 
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
> 

Ok I get this, however I think I should further
explain my layout. It is one card and stack. The top
consists of a text entry field (used to display the
random name that was chosen) and a button below it to
run the random name chooser. Below this is some text
for instructions about adding names. Then another text
entry field to type the name you want to add. Below
this field is a button that will add the name typed
into the list. Finally at the bottom there is a
scrolling field and a button. The scrolling field is
meant to display the list. This list has some
properties to hilight rows etc. Then I want the button
underneath the scrolling field to delete the hilighted
username. 

I will attach a picture of the program hoping that the
list allows it. This should better your understanding
of what I want to do. Thanks for your guy's help and
all but I feel that you were thinking that I would
only use a scrolling text field to enter the names
etc. 

Thanks,

Robert

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the use-livecode mailing list