Tabbed Buttons: how to change the name of the tabs by programmation?

Fran=?ISO-8859-1?B?5w==?=ois Cuneo francois.cuneo at cuk.ch
Mon Aug 4 16:18:01 EDT 2003


Hello Jan!
OK Jan, it's good for me now.
Thank you!
François




> --- Fran?ois Cuneo <francois.cuneo at cuk.ch> wrote:



>> [snip]
>> 
>> How! I'm completly unable to open the file on MacOSX
>> with Revolution 2.1!
>> Anyway I think I have understood how are working the
>> tabbed button but...
>> How may I change the name of the tabs by
>> programmation? Is it a Tabbed
>> property?
>> Thank you
>> 
>> -------------- 
>> Fran?ois Cuneo
>> 
> 
> Bonjour Fran?ois,
> 
> As tabbed buttons are basically menus, you have to set
> the 'text' property of the button either via script or
> via the Inspector palette.
> Tab 1
> Tab 2
> Tab 3
> Tab 4
> 
> Suppose you want to disable the third item ; you can
> either use the command
> disable menuitem 3 of btn "Foobar"
> or you can change the text property to
> Tab 1
> Tab 2
> (Tab 3
> Tab 4
> 
> 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!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 


-------------- 
François Cuneo
Site Web dédié au Macintosh http://www.cuk.ch
E-mail: francois.cuneo at cuk.ch




More information about the use-livecode mailing list