Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
TScrollBox produces ugly artifacts when scrolling
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
IRC channel
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
For-in loop over constant...
by
PascalDragon
[
Today
at 11:12:43 pm]
Demoscene The Champs Crac...
by
Gigatron
[
Today
at 11:03:40 pm]
Poll: Watches and Display...
by
440bx
[
Today
at 10:55:14 pm]
Database standards OR Am ...
by
dseligo
[
Today
at 10:50:26 pm]
what to do if my target M...
by
Key-Real
[
Today
at 10:48:29 pm]
BUG REPORT: Unable to gen...
by
PascalDragon
[
Today
at 10:24:23 pm]
How to: create DLL file f...
by
paule32
[
Today
at 10:23:59 pm]
Have anyone develop UEFI ...
by
PascalDragon
[
Today
at 10:14:15 pm]
Lazarus for Windows on aa...
by
PascalDragon
[
Today
at 10:09:10 pm]
The weird Rewrite bug
by
PascalDragon
[
Today
at 09:58:53 pm]
Assign (textfile) not com...
by
PascalDragon
[
Today
at 09:51:50 pm]
Question for people who h...
by
PascalDragon
[
Today
at 09:44:32 pm]
Converting a string/index...
by
1HuntnMan
[
Today
at 08:48:12 pm]
Linux Workspaces -- StayO...
by
AmatCoder
[
Today
at 08:34:20 pm]
I just released a commerc...
by
Seenkao
[
Today
at 07:57:21 pm]
Access violation when re-...
by
TRon
[
Today
at 07:37:31 pm]
[SOLVED] assembler name i...
by
TRon
[
Today
at 07:26:33 pm]
A fairly simple sound sol...
by
KodeZwerg
[
Today
at 07:01:52 pm]
Step-into the field sette...
by
Martin_fr
[
Today
at 06:54:19 pm]
[Fun Fact] PNG and Micros...
by
Ten_Mile_Hike
[
Today
at 06:24:19 pm]
HTTP/2+HTTP/1.1+WebSocket...
by
iLya2IK
[
Today
at 06:14:30 pm]
Improvement of TFPTimerTh...
by
AlexTP
[
Today
at 05:56:38 pm]
Arabic text, problem on L...
by
nouzi
[
Today
at 05:21:27 pm]
WKWebView takeSnapshot
by
MISV
[
Today
at 04:53:41 pm]
Slow copying of small str...
by
Nitorami
[
Today
at 04:41:52 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TScrollBox produces ugly artifacts when scrolling (Read 543 times)
Superdisk
Jr. Member
Posts: 73
TScrollBox produces ugly artifacts when scrolling
«
on:
August 12, 2022, 03:45:59 am »
When I put an image in a TScrollBox and scroll around, it produces repainting artifacts. This effect is more pronounced on other controls like a custom-drawn one I have, but this demonstrates is more clearly.
Is there any way to prevent this from happening? MS Paint for instance doesn't have this problem.
You can view the gif here:
https://nickfa.ro/images/Ugly.gif
The project file is here:
https://nickfa.ro/images/ScrollBoxArtifacts.zip
Logged
jamie
Hero Member
Posts: 6130
Re: TScrollBox produces ugly artifacts when scrolling
«
Reply #1 on:
August 13, 2022, 04:48:09 pm »
All I see it overlap due to the steps in the vertical control.
have you set the Scroll bars to smooth scrolling?
Logged
The only true wisdom is knowing you know nothing
Handoko
Hero Member
Posts: 5153
My goal: build my own game engine using Lazarus
Re: TScrollBox produces ugly artifacts when scrolling
«
Reply #2 on:
August 13, 2022, 05:24:48 pm »
I downloaded and tested the code, it run ok on my Ubuntu Mate 22.04. Maybe the computer did not have correct VGA driver installed, or maybe virus/antivirus issue.
Logged
wp
Hero Member
Posts: 11916
Re: TScrollBox produces ugly artifacts when scrolling
«
Reply #3 on:
August 13, 2022, 06:51:32 pm »
Scrolls perfectly on Windows 11 (at least it is my impression).
«
Last Edit: August 13, 2022, 07:44:23 pm by wp
»
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
TScrollBox produces ugly artifacts when scrolling
TinyPortal
© 2005-2018