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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Little bit...
by
mas steindorff
[
Today
at 12:55:42 am]
Untitled raycaster game (...
by
hukka
[
Today
at 12:12:06 am]
TChart how setup nicestep...
by
wp
[
Today
at 12:02:04 am]
Renamed a TSQLQuery compo...
by
CraigC
[April 18, 2026, 11:14:18 pm]
FPC 3.2.4-rc1 available
by
marcov
[April 18, 2026, 08:08:03 pm]
Error: Compilation raised...
by
cdbc
[April 18, 2026, 07:02:50 pm]
IDE Coolbar
by
staratel20
[April 18, 2026, 07:02:23 pm]
Building units fails afte...
by
NormanDunbar
[April 18, 2026, 06:39:32 pm]
I hope FreePascal can sup...
by
marcov
[April 18, 2026, 06:03:54 pm]
FPC Unleashed (inline var...
by
ccrause
[April 18, 2026, 04:10:31 pm]
Elite Arcade
by
Guva
[April 18, 2026, 03:41:28 pm]
[SOLVED] Cannot build Uni...
by
Thausand
[April 18, 2026, 02:18:34 pm]
default pin settings, atm...
by
ccrause
[April 18, 2026, 11:45:37 am]
AI assisted translation o...
by
schuler
[April 18, 2026, 03:07:59 am]
Can I get the position an...
by
wp
[April 18, 2026, 12:23:04 am]
Translate .lfm file in a ...
by
wp
[April 18, 2026, 12:07:11 am]
Playing video without to ...
by
n7800
[April 17, 2026, 11:51:39 pm]
Delimited text - how find...
by
n7800
[April 17, 2026, 11:28:25 pm]
overloading issues fpc3.2...
by
Martin_fr
[April 17, 2026, 10:21:07 pm]
Ann: Deinline: a de-inlin...
by
LeP
[April 17, 2026, 09:58:08 pm]
Seeking advice on setting...
by
schuler
[April 17, 2026, 03:36:28 pm]
Ann: DeCoperators
by
DomingoGP
[April 17, 2026, 03:23:39 pm]
TLazSerial : serial port ...
by
CM630
[April 17, 2026, 09:50:34 am]
[Solved] Help needed comp...
by
landolfi
[April 17, 2026, 02:45:10 am]
DataPort or Synpase stat...
by
eldonfsr
[April 16, 2026, 11:32:18 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Progress bar problem (Read 19752 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: 201
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