XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Nov 24日 14:23

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Today 08:16 
Offline

Joined: 2016年 Sep 16日 03:30
Posts: 25
Hello


I would like to create a ProgressBar to set the transparency of some of my layers how to do it, I try several code but without success .... If someone little enlightened I am a taker :)

Thank you :)


Top
 Profile  
 
PostPosted: Today 10:52 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4557
Hi Rom. I don't know the answer but I'm pretty sure that a java script exists for something like this..
If someone replies here, it will be great for you and for the rest, but if you don't find a solution you can always do it in another way, not so 'professional' but with a similar function. You can create a number of layers or images (better) that they have a different transparency and then with right click selections, you can make them selectable hidding the other ones.
Just an idea... :)

Example
https://jimking.deviantart.com/art/Weat ... -655218106

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: Today 11:00 
Offline

Joined: 2016年 Sep 16日 03:30
Posts: 25
Thank you for your reply.

I try several things like that.
I linked my Layer to a text that set transparency to 50 and it works. here is the code in question.

function textOnClick(sender)
Layer.Opacity=0.5;

So I thought I could do the same thing with a progressBar


Top
 Profile  
 
PostPosted: Today 12:37 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4557
That's why I gave you an example in case that you can't do it through script. ;)

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group