Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
Progress bar problem
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
BGRAGtkBitmap
by
CM630
[
Today
at 09:26:32 pm]
Lazarus Release 4.0
by
Hansvb
[
Today
at 09:20:05 pm]
Practical Ways to Help La...
by
PascalDragon
[
Today
at 09:13:30 pm]
A problem with ptcmouse
by
TRon
[
Today
at 09:13:00 pm]
Why there is no build-in ...
by
Nimbus
[
Today
at 08:50:15 pm]
Feature request/suggestio...
by
440bx
[
Today
at 08:05:11 pm]
Feature request/suggestio...
by
440bx
[
Today
at 07:58:33 pm]
Build mode Help button do...
by
440bx
[
Today
at 07:54:27 pm]
TSynCompletion failing wh...
by
Martin_fr
[
Today
at 06:55:20 pm]
How to convert TStrings t...
by
Remy Lebeau
[
Today
at 06:35:35 pm]
Animated Oscillating Line...
by
Nitorami
[
Today
at 05:57:07 pm]
3D Dot Ball
by
Dzandaa
[
Today
at 05:43:47 pm]
FPC 3.2.2 + NASM Windows ...
by
paule32
[
Today
at 05:08:38 pm]
Why isn't Lazarus / Free ...
by
JD
[
Today
at 04:39:44 pm]
[SOLVED] Added components...
by
Rico54
[
Today
at 03:27:20 pm]
I can write your README.m...
by
PeterBB
[
Today
at 03:15:57 pm]
[SOLVED] How to "Jump To"...
by
paweld
[
Today
at 02:40:52 pm]
PZ_Nes emulator
by
Ñuño_Martínez
[
Today
at 02:29:40 pm]
Problems with Word
by
loaded
[
Today
at 02:17:56 pm]
Handle double click on a ...
by
rich2014
[
Today
at 01:49:23 pm]
Selecting Memo lines drif...
by
munair
[
Today
at 12:57:29 pm]
Question for people who h...
by
Lenny33
[
Today
at 12:57:17 pm]
project - count source li...
by
munair
[
Today
at 10:09:39 am]
[SOLVED] Anyone can tell ...
by
CharlyTango
[
Today
at 08:50:19 am]
Anyone into mDNS?
by
MaxM74
[
Today
at 08:29:16 am]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Progress bar problem (Read 19311 times)
wjackson153
Sr. Member
Posts: 267
Re: Progress bar problem
«
Reply #15 on:
January 31, 2013, 03:16:09 am »
A good example is this
Some use the following to increment a integer
var
iNum
Inc(iNum);
I use
iNum := iNum +1;
they both do the same, however its a personal preference
just as stepit is to position
If that makes sence ?
Logged
Lazarus 1.1 r39490 CT FPC 2.7.1 i386-linux KDE
Linux Mint 14 KDE 4
Ruptor
Full Member
Posts: 191
Re: Progress bar problem
«
Reply #16 on:
January 31, 2013, 03:18:55 pm »
My problem is that “stepit” didn't do the same thing as your alternative. The problem was that I misunderstood the “stepby” parameter thinking it was the step size but “step” in the properties is the value. The default seems to be 10 and that is why my progress bar finished ten times quicker than the file size. See the modified line added to my original posted procedure that fixes the problem so it works the same as your alternative.
Logged
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
Progress bar problem
TinyPortal
© 2005-2018