XWidgetSoft Forum
https://www.bbs.xwidget.com/

Simple....
https://www.bbs.xwidget.com/viewtopic.php?f=8&t=5050
Page 1 of 1

Author:  Jimking [ September 19th, 2014, 5:00 pm ]
Post subject:  Simple....

I know that there are widgets with this function but I can't find the solution..
I have this volume widget, I use this script:

Code:
function progressbar1OnChange(Sender)
{
  text1.top = progressbar1.Height-progressbar1.thumb.top-113;
}


but the txt doesn't follow the movement of the progressbar (stay in the box)..
What I'm doing wrong? :?

Attachments:
Pure_Volume_Widget.xwp [78.13 KiB]
Downloaded 202 times
2014-09-20_025558.jpg
2014-09-20_025558.jpg [ 14.59 KiB | Viewed 4223 times ]

Author:  meme [ September 19th, 2014, 8:59 pm ]
Post subject:  Re: Simple....

Does this work ?
text1.left = progressbar1.thumb.left+3;

Author:  Jimking [ September 20th, 2014, 1:12 am ]
Post subject:  Re: Simple....

I will test it as soon possible meme. Thanks!

Yeap, this works meme! :D
Thanks!

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/