Menu buttons of type pull down

DunbarX at aol.com DunbarX at aol.com
Tue Jan 20 13:50:01 EST 2009


In a message dated 1/20/09 1:28:22 PM, toncardona at mac.com writes:


> Thanks to all of you for your help.
> 
> In the meantime I have found that this helps:
> 
>   repeat with p=the number of menuItems of btn XX down to 1
>        delete menuItem p of btn XX
>     end repeat
> 
> I repeat, thanks and regret the inconvenience.
> 
> Ton
> 

But doesn't this merely empty the contents of the button? I thought you just 
wanted to lose the empty lines. The cool "filter" command, per Mark's post 
does this, and yours would, too (HC-like), if you added "if menuItem p of btn XX 
= empty then" before "delete".


**************
A Good Credit Score is 700 or 
Above. See yours in just 2 easy steps! 
(http://pr.atwola.com/promoclk/100000075x1215855013x1201028747/aol?redir=http://www.freecreditreport.com/pm/default.aspx?s
c=668072%26hmpgID=62%26bcd=DecemailfooterNO62)



More information about the use-livecode mailing list