Help - Button Menu Question??
janschenkel at yahoo.com
Tue Nov 9 10:30:48 CST 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
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,
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
More information about the use-livecode