--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
> What techniques are there for building/adding buttons onto bars?

You should wait for the upcoming CL.xxx "built-in" plugin which will 
allow command lists to be dynamically created, modified, grown and 
will replace and extend format.item.





> you have to specify the item numbers in the commandlist (which 
change, as
> you import more items into the commandlist).


The best solution I can think of to this problem is to create hidden 
command list items with particular labels and then make references 
relative to this labels.  For example, to add a line item before 
item labelled here21, your will be able to say

cl.insert("thelist", cl.getindex("thelist", "here21")-1)






> 
> There is also *Bar SelectSubbar, but that is only effective when 
you have
> one subbar you want to show. If you want to show, or hide multiple 
subbars
> on the fly, there is the restriction: <exerpt from help file> "to 
show the
> subbar called PartBar on bar xxx.  All other subbars are hidden."
> 
> 

This is true, but note that you can have multiple, non-contiguous 
parts of a command list comprise one subbar by using multiple subbar 
statements with same name.  (Have not tested this lately...)



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to