Jump to content
UBot Underground

[FREE] UI ProgressBar Source Code


Recommended Posts

Hey Guys :)

i know there is a lot of people looking to implement a progressbar in their UI , so this may come handy to many of you!

i was playing with ubot and came up ith this :)

http://content.screencast.com/users/aymen99/folders/Jing/media/694bb631-9975-4e33-8817-d062659db7c6/2013-03-07_0050.png

 

Video Demo : http://screencast.com/t/wgcMqbgDo

 

Hope you guys like it :)

Progressbar code.ubot

  • Like 12
Link to post
Share on other sites
cool stuff Aymen. Too bad it stops at 96%.......any idea what to look for to get it 100%?

lol , probebly i miss calculated something ! but you get the idea :)

Link to post
Share on other sites

My knowledge is not good enough (for now) to make it go to 100% (as it stalls at 96%)

 

Also, let's say i want to implement this for a wait command ? How do i proceed ?

 

Thanks

Link to post
Share on other sites

haven't had time to look at this to much but a quick fix would be to add in the loop after the post increment the following code

 

if($comparison(#pos, "=", #totalloops)) {
    then {
        set(#purcentage, 100, "Global")
        set(#progressbar, "width: {#purcentage}%", "Global")
    }
    else {
    }
}
  • Like 1
Link to post
Share on other sites

haven't had time to look at this to much but a quick fix would be to add in the loop after the post increment the following code

 

if($comparison(#pos, "=", #totalloops)) {
    then {
        set(#purcentage, 100, "Global")
        set(#progressbar, "width: {#purcentage}%", "Global")
    }
    else {
    }
}

 

Nice!

Thanks for the tip :)

Link to post
Share on other sites
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...