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: FourthWorld, heatherlaine, Klaus, kevinmiller

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

better progress bar

Post by Samuele » Thu Jan 27, 2022 12:31 pm

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: 9492
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: better scrollbar

Post by richmond62 » Thu Jan 27, 2022 12:51 pm

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?
-
SShot 2022-01-27 at 13.52.48.png
Basic LiveCode scrollbar
SShot 2022-01-27 at 13.52.48.png (2.74 KiB) Viewed 4172 times
-
aquaX.jpeg
aquaX.jpeg (19.07 KiB) Viewed 4172 times
-
SShot 2022-01-27 at 13.55.27.png
SShot 2022-01-27 at 13.55.27.png (35.59 KiB) Viewed 4172 times
Last edited by richmond62 on Thu Jan 27, 2022 1:17 pm, edited 1 time in total.

Klaus
Posts: 13882
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: better scrollbar

Post by Klaus » Thu Jan 27, 2022 1:04 pm

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: 9492
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: better scrollbar

Post by richmond62 » Thu Jan 27, 2022 1:19 pm

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: 13882
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: better scrollbar

Post by Klaus » Thu Jan 27, 2022 2:15 pm

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
Location: Italy

Re: better scrollbar

Post by Samuele » Thu Jan 27, 2022 5:11 pm

sorryyyyyy!!!, i meant the progress bar, I got confused
Samuele.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9492
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: better progress bar

Post by richmond62 » Thu Jan 27, 2022 5:14 pm

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 4126 times

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

Re: better progress bar

Post by Samuele » Thu Jan 27, 2022 5:33 pm

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: 13882
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: better progress bar

Post by Klaus » Thu Jan 27, 2022 5:39 pm

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
Location: Italy

Re: better progress bar

Post by Samuele » Thu Jan 27, 2022 5:40 pm

ahaaa, so it's android's fault that for android they don't look good :lol:
Samuele.

Klaus
Posts: 13882
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: better progress bar

Post by Klaus » Thu Jan 27, 2022 5:44 pm

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
Location: Italy

Re: better progress bar

Post by Samuele » Thu Jan 27, 2022 5:48 pm

: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: 13882
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: better progress bar

Post by Klaus » Thu Jan 27, 2022 5:52 pm

You cannot do anything with the BUILT-IN progressbars, but to create your own.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9799
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: better progress bar

Post by dunbarx » 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

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

Re: better progress bar

Post by Samuele » Thu Jan 27, 2022 6:21 pm

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

Return to “Getting Started with LiveCode - Complete Beginners”