Progress Bar in IOS does not work - Is this a Bug?

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

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Progress Bar in IOS does not work - Is this a Bug?

Post by DR White »

Using the scrollbar "Progress Scrollbar" from the LiveCode tool set looks very crude in my IOS app. Also, even though I have it set up for a start value of 1 and a end value of 27, I only get a change in the progress every 2 or 3 counts. Is there something I can do to give the progress bar better resolution, so that it shows progress with each count?

I am using LC 7.0.6.

Thanks,

David
Last edited by DR White on Sat Aug 01, 2015 2:49 am, edited 2 times in total.
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Progress Bar in IOS does not show progress with each cou

Post by Klaus »

Hi David,

please show us your script.


Best

Klaus
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Progress Bar in IOS does not show progress with each cou

Post by jacque »

You might want to look at this set: <http://tmtools.tactilemedia.com/tmcontrol2/index.html> Scott has done a marvelous job of recreating native iOS controls.

In general, a tight repeat loop will not redraw the screen regularly. To force a redraw, use a "send" contruct to update the progress bar at intervals, or add a brief "wait with messages" to allow the engine to redraw the screen. I'll echo Klaus and ask for your script so we can see what's blocking the updates.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Progress Bar in IOS does not show progress with each cou

Post by DR White »

He is my simple code that works fine on the computer, not so good on the IOS simulator.
I wonder why?

I was not able to upload a livecode extension, so I attached a zip file.

Thanks,

David
Attachments
Dave2.livecode.zip
(1.77 KiB) Downloaded 244 times
Post Reply