deviant art

Deviant Login Shop
 Join deviantART for FREE Take the Tour
[x]
Download Image
JPG, 834×689
more ▶

More from ~xwidgetsoft

Featured in Groups:

Details

October 28, 2011
201 KB
834×689
Link
Thumb

Statistics

Comments: 0
Favourites: 4 [who?]

Views: 1,075 (1 today)
Downloads: 56 (0 today)
[x]
:iconxwidgetsoft:
How to make Volume skin in XWidget:

1. Create ProgressBar control and VolumeCore

2. ProgressBar control select binding core to VolumeCore, and click "AddTags" Button to select tag "%Volume" .
Unchecked the progressbar property "ReadOnly"

3. If you need a mute button , please add a Image control ,and binding volumeCore ,select tag "%IsMute" ,edit it to "%IsMute.png" , and create "true.png" and "false.png" picture into skin folder.


-----------------------------------------------
if you need get value from core,please use "get" function:

In the VolumeCore Event "OnUpdate" write script code:

function volumecore1OnUpdate(Sender)
{
if( volumecore1.get("%volume")=="100" )
text1.Text = 'Loud!'
else
text1.Text = 'Not Loud';
}
No comments have been added yet.

Add a Comment: