am 25.08.2001 9:00 Uhr schrieb [EMAIL PROTECTED] unter
[EMAIL PROTECTED]:


Fun. Today palette is useless...

This work...but is quite
on mousedown
  put "oilnut:save:;red apple:;green apple:(-:french fry:;long:;"&�
  "short:;medium:;;medium large:;;medium medium:;;medium short" into �a
  replace ":" with return in �a
  replace ";" with tab in �a
  put �a into me
end mousedown

or more sofisticated with ... a lot of typing and error source
on mousedown
  put "oilnut"&return&�
  "save"&return&�
  tab&"red apple"&return&�
  tab&"green apple"&return&�
  "(-"&return&�
  "french fry"&return&�
  tab&"long" &return&�
  tab&"short" &return&�
  tab&"medium" &return&�
  tab&tab&"medium large" &return&�
  tab&tab&"medium medium" &return&�
  tab&tab&"medium short" into me
end mousedown  --deligthfull

or take a text editor to edit your menu...well!

or BUT, why should'nt you have a tabbed field in the popmenu items palette.
This would be of a first great help.

OR do you have an other alternative to propose. (Jon is best)
put "oilnut:save;red apple;green apple:(-:french fry;long;"&�
  "short;medium�medium large�medium medium�medium short" into �a
I agree when its getting very deep its troubling me too.

One other alternative with "," or ";" or ":" or else char, or why not the
current delimiter:
put "oilnut,save,,red apple,,green apple,(-,french fry,,long,,"&�
  "short,,medium,,,medium large,,,medium medium,,,medium short" into �a

Finaly:
The last sample should be understood by MC because it is a very usefull way
of scripting menus. It should work as good as a tabbed line text input.
ask scott :-)
and
Palette should have tabbed field set.
ask Kevin :-)

I am not asking very much, Anyway many thanks

Jean-Jacques Wagner

> At 10:17 PM -0700 8/23/2001, Wagner Jean-Jacques wrote:
>> I cannot figure out how to write the button contents in order to pull a
>> hierarchical type of menu out of etither the menubar or a popupbutton.
> 
> Use a tab character in front of the items you want to be in the submenu:
> 
> First Item
> Second Item
> A Submenu
> First Submenu Item
> Second Submenu Item
> Fourth Item
> Another Submenu
> First Submenu Item
> A Sub-sub Menu
> First 3rd-level Item
> Second 3rd-level Item
> Final Menu Item
> 
> --
> Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
> http://www.runrev.com/
> Runtime Revolution Limited - Power to the Developer!

Reply via email to