--- "Sheri" wrote:
>
> Menus have different formatting commands for sublists than bars, so I
> don't think so.

You were right :)

--- "brucexs" wrote:

> If you mean have a bar display a subbar which is part of the same
> command list by showing that subbar dropping down from the button,
> like a menu display and disappearing like a menu:  no, that it is not
> possible with one command list.

Ok bruce, no worries. Thanks for the clarification, I just wanted to know 
if it was possible or not.



--- "Sheri" wrote:
>
> It would be preferable to use cl.seticon instead of format item.
> 
> Hopefully you can adapt this post to your purpose:
> http://tech.groups.yahoo.com/group/power-pro/message/33344

Sorry for not searching first, that post solved it.
This is how I set it up:

*Exec MoreCommandsAsScript

static vlstatus
if (vlstatus=="" or vlstatus==1) do
vlstatus=0
Exec.Mute("0")
cl.seticon("11 *BarBottom",11,?"%windir%/system32/stobject.dll",2)
elseif(vlstatus==0)
vlstatus=1
Exec.Mute("1")
cl.seticon("11 *BarBottom",11,?"%windir%/system32/stobject.dll",3)
endif

Thanks for all the help. Much appreciated.

Reply via email to