better progress bar

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

better progress bar

Post by Samuele »

Hi, is there a way to make a better-looking scrollbar? For example a round scrollbar instead of a line...
Thanks!
Last edited by Samuele on Thu Jan 27, 2022 5:12 pm, edited 1 time in total.
Samuele.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10430
Joined: Fri Feb 19, 2010 10:17 am

Re: better scrollbar

Post by richmond62 »

There is always a way to make anything you want, but it takes a lot more work
than using the one offered by the IDE.

However, I don't really understand what you mean by "a round scrollbar", so, how about uploading an image to help?
-
Basic LiveCode scrollbar
Basic LiveCode scrollbar
SShot 2022-01-27 at 13.52.48.png (2.74 KiB) Viewed 7558 times
-
aquaX.jpeg
aquaX.jpeg (19.07 KiB) Viewed 7558 times
-
SShot 2022-01-27 at 13.55.27.png
SShot 2022-01-27 at 13.55.27.png (35.59 KiB) Viewed 7558 times
Last edited by richmond62 on Thu Jan 27, 2022 1:17 pm, edited 1 time in total.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: better scrollbar

Post by Klaus »

Here is a lesson from the mothership:
https://lessons.livecode.com/m/4071/l/2 ... m-controls
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10430
Joined: Fri Feb 19, 2010 10:17 am

Re: better scrollbar

Post by richmond62 »

Interestingly enough:

1. The example stack contains a scrollbar that is not a particular aesthetic advance on the inbuilt one.

2. It threw a "bluey" as soon as I tried to move the scroll tab.
-
SShot 2022-01-27 at 14.17.46.png
-
The lesson may help with designing one's own scrollBar.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: better scrollbar

Post by Klaus »

richmond62 wrote: Thu Jan 27, 2022 1:19 pm...
2. It threw a "bluey" as soon as I tried to move the scroll tab.
Sorry, didn't know. :shock:
Leave a comment on the page.
Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: better scrollbar

Post by Samuele »

sorryyyyyy!!!, i meant the progress bar, I got confused
Samuele.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10430
Joined: Fri Feb 19, 2010 10:17 am

Re: better progress bar

Post by richmond62 »

I got confused
I do that all the time. 8)
-
SShot 2022-01-27 at 18.15.04.png
SShot 2022-01-27 at 18.15.04.png (1.64 KiB) Viewed 7512 times
Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: better progress bar

Post by Samuele »

richmond62 wrote: Thu Jan 27, 2022 5:14 pm
I got confused
-
SShot 2022-01-27 at 18.15.04.png
How you did that? For me it won't even round up!
Samuele.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: better progress bar

Post by Klaus »

Scrollbars and prograss bars are "borrowed" from the underlying OS.
So Richmonds screenshot just shows how a "regular" progress bar looks on a Apple Mac machine. :)
Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: better progress bar

Post by Samuele »

ahaaa, so it's android's fault that for android they don't look good :lol:
Samuele.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: better progress bar

Post by Klaus »

No it is even worse! :D

Since LC does not support native controls on the mobile platform out of the box, it uses here
the "Motif" look and feel (Theme) which unfortunately looks like on a UNIX machine in the early 80s!
Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: better progress bar

Post by Samuele »

:lol: :lol: yes you're right that design is quite awful.
so you're saying i can't do nothing about it?
Samuele.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: better progress bar

Post by Klaus »

You cannot do anything with the BUILT-IN progressbars, but to create your own.
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10509
Joined: Wed May 06, 2009 2:28 pm

Re: better progress bar

Post by dunbarx »

What Klaus said.

Make your own. It will be fun and a very good exercise. Let us know if you need help starting. There are a million ways to do it, all with ordinary controls taken right out of the tools palette.

Craig
Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: better progress bar

Post by Samuele »

dunbarx wrote: Thu Jan 27, 2022 6:00 pm What Klaus said.

Make your own. It will be fun and a very good exercise. Let us know if you need help starting. There are a million ways to do it, all with ordinary controls taken right out of the tools palette.

Craig
yep thanks, i didn't even know you can create your own! how do i start?
Thanks!
Samuele.
Post Reply