menuPick prob

Jan Schenkel janschenkel at yahoo.com
Wed Apr 16 10:52:01 EDT 2003


--- Stephen Messimer <steve at messimercomputing.com>
wrote:
> Hi,
> 
> In version 1.1.1 I used the following script to
> return the  rev tools 
> palette to the screen. It worked fine.
> 
> send ("menuPick" && quote & "Tools Palette" &&
> quote) to button "tools" 
> of stack "revMenubar"
> 
> This does not work in rev 2.0ß2? When I use this I
> don't get any error 
> msgs . When used from the msg Box there are no
> indications that it 
> hasn't been accepted by rev as good code.  The only
> problem is that the 
> Tools palette doesn't appear.
> 
> Anyone have any ideas.
> 
> Regards
> 
> Steve
> 

Hi Steve,

It looks like you have an ampersand too many :
  send ("menuPick" && quote & "Tools Palette" & quote)
to button "tools" of stack "revMenuBar"
works just fine (no double ampersand before the second
quote-literal).

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



More information about the use-livecode mailing list