Old 1st January 2007, 16:37   #1
xpqcad
Junior Member
 
Join Date: Sep 2005
Posts: 7
Togglebutton for custom Container

Hi.

I have added a custom container to my skin.

code:
<container id="custom_container" name="Custom" default_x="0" default_y="0" default_visible="0">
...
</container>



Now I want to add a togglebutton for this container in the main window to switch it on/off (show/hide).

I tried it this way:

code:
<togglebutton
id="toggle_custom"
x="13" y="1"
action="TOGGLE" param="guid:custom_container"
image="custom_container_toggle"
rectrgn="1"
tooltip="Toggle Custom"
/>



But it doesn't work.

Anyone got an idea how to add this function?

thxxxx
/xpqcad
xpqcad is offline   Reply With Quote
Old 1st January 2007, 19:09   #2
TheElusiveMelon
Senior Member
 
TheElusiveMelon's Avatar
 
Join Date: Feb 2005
Location: Kent, England
Posts: 350
Just remove the guid: bit and it should work. Just give it a try

<togglebutton
id="toggle_custom"
x="13" y="1"
action="TOGGLE" param="custom_container"
image="custom_container_toggle"
rectrgn="1"
tooltip="Toggle Custom"
/>
TheElusiveMelon is offline   Reply With Quote
Old 1st January 2007, 22:01   #3
Michgelsen
Major Dude
 
Michgelsen's Avatar
 
Join Date: Oct 2003
Location: Netherlands
Posts: 1,416
The search function owns:

http://forums.winamp.com/showthread....hreadid=178572
Michgelsen is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump