Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
TscrollBar/OnMouseUp ?
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
Как правильно создать на ...
by
pmralbuquerque
[
Today
at 03:46:15 pm]
FPC Unleashed (inline var...
by
cdbc
[
Today
at 03:45:31 pm]
Cannot get FTP to work
by
rvk
[
Today
at 03:32:36 pm]
Problem with upgrading to...
by
wp
[
Today
at 03:15:03 pm]
Benchmark regular vs SIMD...
by
Martin_fr
[
Today
at 03:01:07 pm]
How to wait until a WebDA...
by
Lutz Mändle
[
Today
at 02:44:10 pm]
Anubis's website security...
by
ALLIGATOR
[
Today
at 01:23:59 pm]
Anubis activated
by
rvk
[
Today
at 12:45:50 pm]
Can Lazarus support Auto-...
by
Martin_fr
[
Today
at 12:33:34 pm]
TFONT and related init ?
by
jamie
[
Today
at 12:17:36 pm]
ERROR: The current FPC ha...
by
Thaddy
[
Today
at 11:53:06 am]
Run code during DLL load
by
LemonParty
[
Today
at 11:48:20 am]
GocciaScript: JavaScript ...
by
Tomxe
[
Today
at 11:39:14 am]
text color visible
by
hedgehog
[
Today
at 10:36:48 am]
SYnEdit lose cursor
by
Martin_fr
[
Today
at 09:50:48 am]
Portable verion of FPC an...
by
marcov
[
Today
at 09:46:14 am]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[
Today
at 09:41:18 am]
paszlib. Feature request ...
by
LemonParty
[
Today
at 08:09:37 am]
Death of the Power User
by
440bx
[
Today
at 05:47:41 am]
Linking a PortAudio stati...
by
bbrx
[May 20, 2026, 08:02:20 pm]
IDE Windows Centered
by
zeljko
[May 20, 2026, 01:51:37 pm]
QuotedStr
by
wp
[May 20, 2026, 12:52:30 pm]
LazNodeEditor (visual nod...
by
gidesa
[May 20, 2026, 12:36:09 pm]
TMemoryStream, manual mem...
by
marcov
[May 20, 2026, 12:16:31 pm]
LZMA, LZMA2 and XZ
by
LemonParty
[May 20, 2026, 11:24:36 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TscrollBar/OnMouseUp ? (Read 716 times)
BubikolRamios
Sr. Member
Posts: 397
TscrollBar/OnMouseUp ?
«
on:
December 18, 2025, 07:11:31 am »
There is no OnMouseUp event at TscrollBar ?
Want to do something on each onChange
but other thing not on each change, just once, when mouse up occurs when scroll bar button dragging left & right with mouse ends ?
How to do that ?
«
Last Edit: December 18, 2025, 07:19:51 am by BubikolRamios
»
Logged
lazarus 3.2-fpc-3.2.2-win32/win64
CM630
Hero Member
Posts: 1689
Не съм сигурен, че те разбирам.
Re: TscrollBar/OnMouseUp ?
«
Reply #1 on:
December 18, 2025, 11:47:11 am »
Indeed, none of these is triggered:
Code: Pascal
[Select]
[+]
[-]
procedure
TForm1
.
ScrollBar1EndDrag
(
Sender
,
Target
:
TObject
;
X
,
Y
:
Integer
)
;
begin
ShowMessage
(
'EndDrag'
)
;
end
;
procedure
TForm1
.
ScrollBar1Exit
(
Sender
:
TObject
)
;
begin
ShowMessage
(
'Exit'
)
;
end
;
procedure
TForm1
.
ScrollBar1DragDrop
(
Sender
,
Source
:
TObject
;
X
,
Y
:
Integer
)
;
begin
ShowMessage
(
'DragDrop'
)
;
end
;
procedure
TForm1
.
ScrollBar1DragOver
(
Sender
,
Source
:
TObject
;
X
,
Y
:
Integer
;
State
:
TDragState
;
var
Accept
:
Boolean
)
;
begin
ShowMessage
(
'OnDragOver'
)
end
;
Logged
Лазар 4,4 32 bit (sometimes 64 bit); FPC3,2,2
BubikolRamios
Sr. Member
Posts: 397
Re: TscrollBar/OnMouseUp ?
«
Reply #2 on:
December 18, 2025, 05:24:47 pm »
Exit unusable. Dragend etc when you end drag some icon gets frozen on screen and code at dragend not executed until extra click on drag button.
dmAutomatic.
Icon BW.
«
Last Edit: December 18, 2025, 05:33:08 pm by BubikolRamios
»
Logged
lazarus 3.2-fpc-3.2.2-win32/win64
CM630
Hero Member
Posts: 1689
Не съм сигурен, че те разбирам.
Re: TscrollBar/OnMouseUp ?
«
Reply #3 on:
December 18, 2025, 11:05:05 pm »
As the last resort, you can use TATScrollbar from "AT Controls" (
https://wiki.freepascal.org/CudaText
)
Logged
Лазар 4,4 32 bit (sometimes 64 bit); FPC3,2,2
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
TscrollBar/OnMouseUp ?
TinyPortal
© 2005-2018