View Issue Details

IDProjectCategoryView StatusLast Update
0038891LazarusLCLpublic2021-05-30 19:46
ReporterSimon Ameis Assigned Towp  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2.0.13 (SVN) 
Summary0038891: Publish TSpeedButton OnDragOver and OnDragDrop
DescriptionPlease publish OnDragOver and OnDragDrop in class TSpeedButton.
Currently the properties are protected and can't be accessed without a class helper or an local child class of TSpeedButton.

Compatibility with Delphi should be granted as long as these properties are not assigned during design time.
Additional InformationDiscussion in English Board: https://forum.lazarus.freepascal.org/index.php/topic,54603.msg405649.html#msg405649
Discussion in German Board: https://www.lazarusforum.de/viewtopic.php?f=10&t=13654
TagsNo tags attached.
Fixed in Revision65115, 65155
LazTarget-
Widgetset
Attached Files

Activities

wp

2021-05-14 09:33

developer   ~0130867

I don't see a real reason why TSpeedButton should not take part in drag-and-drop operations and published the events OnDragDrop, OnDragOver, OnEndDrag and OnStartDrag.

Please test and close if ok.

Does it make sense to add also DragKind and DragMode? TButton has them, but TBitBtn does not...

CudaText man

2021-05-14 16:12

reporter   ~0130874

>Does it make sense to add also DragKind and DragMode?

Pls make it like Delphi.

wp

2021-05-30 19:44

developer   ~0131096

Published DragCursor, DragKind and DragMode for TBitBtn and TSpeedButton.

Issue History

Date Modified Username Field Change
2021-05-14 09:07 Simon Ameis New Issue
2021-05-14 09:33 wp Assigned To => wp
2021-05-14 09:33 wp Status new => resolved
2021-05-14 09:33 wp Resolution open => fixed
2021-05-14 09:33 wp Fixed in Revision => 65115
2021-05-14 09:33 wp LazTarget => -
2021-05-14 09:33 wp Note Added: 0130867
2021-05-14 16:12 CudaText man Note Added: 0130874
2021-05-30 19:44 wp Status resolved => assigned
2021-05-30 19:44 wp Resolution fixed => open
2021-05-30 19:44 wp Note Added: 0131096
2021-05-30 19:46 wp Status assigned => resolved
2021-05-30 19:46 wp Resolution open => fixed
2021-05-30 19:46 wp Fixed in Revision 65115 => 65115, 65155