Help - Button Menu Question??
Jan Schenkel
janschenkel at yahoo.com
Tue Nov 9 11:30:48 EST 2004
--- "Ralph R. Forehand" <ralf at dol.net> wrote:
> The Rev documentation says:
> You can script the button's menu items with a
> handler (one menu item per line),
> but doesn't show an example of this.
>
> I'm trying to use a string of User names, ex.
> "Smith, Jones, Brown, White"
> within a handler to populate my button's menu items.
> The number of Users (line items) will vary depending
> on the User group.
>
> Does anyone know the location (URL) of a sample
> script that does this and/or
> what commands could I use?
>
> Thanks in Advance for any help and TAKE CARE
> Ralph
>
Hi Ralph,
You can change a menu button's items by means of the
'text' property ; this expects a return-delimited list
of menu items ; example :
set the text of button "MyMenuButton" to \
"Smith" & return & "Jones" & return & \
"Brown" & return & "White"
Hope this helped,
Jan Schenkel.
=====
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________________________
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