View Issue Details

IDProjectCategoryView StatusLast Update
0026171LazarusLCLpublic2014-05-19 08:30
ReporterTorsten Bonde ChristiansenAssigned ToBart Broersma 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformAllOSAllOS VersionAll
Product Version1.3 (SVN)Product Buildr45040 
Target VersionFixed in Version1.4 
Summary0026171: New TCustomEditBtn does not handle EditingDone from the Edit
DescriptionAlthough the TCustomEditBtn component has an OnEditingDone event, this is never fired because the TEbEdit has not assigned it's OnEditingDone event - hence the event is not relayed.
Additional InformationA patch which fixes the problem is attached.
TagsNo tags attached.
Fixed in Revisionr45044
LazTarget-
WidgetsetGTK, GTK 2, Win32/Win64, WinCE, Carbon, Cocoa, QT, fpGUI, CustomDrawn
Attached Files
  • editbtn.editingdone.patch (471 bytes)
    Index: editbtn.pas
    ===================================================================
    --- editbtn.pas	(revision 45040)
    +++ editbtn.pas	(working copy)
    @@ -1657,6 +1657,7 @@
         OnDblClick := @InternalOnEditDblClick;
         OnDragDrop := @InternalOnEditDragDrop;
         OnDragOver := @InternalOnEditDragOver;
    +    OnEditingDone := @InternalOnEditEditingDone;
         OnEndDrag := @InternalOnEditEndDrag;
         OnExit := @InternalOnEditExit;
         OnEnter := @InternalOnEditEnter;
    

Activities

Torsten Bonde Christiansen

2014-05-15 09:13

reporter  

editbtn.editingdone.patch (471 bytes)
Index: editbtn.pas
===================================================================
--- editbtn.pas	(revision 45040)
+++ editbtn.pas	(working copy)
@@ -1657,6 +1657,7 @@
     OnDblClick := @InternalOnEditDblClick;
     OnDragDrop := @InternalOnEditDragDrop;
     OnDragOver := @InternalOnEditDragOver;
+    OnEditingDone := @InternalOnEditEditingDone;
     OnEndDrag := @InternalOnEditEndDrag;
     OnExit := @InternalOnEditExit;
     OnEnter := @InternalOnEditEnter;

Bart Broersma

2014-05-15 23:00

developer   ~0075013

Applied.
Thanks for the patch.
Please close if OK.

Issue History

Date Modified Username Field Change
2014-05-15 09:13 Torsten Bonde Christiansen New Issue
2014-05-15 09:13 Torsten Bonde Christiansen File Added: editbtn.editingdone.patch
2014-05-15 10:13 Zeljan Rikalo Assigned To => Bart Broersma
2014-05-15 10:13 Zeljan Rikalo Status new => assigned
2014-05-15 23:00 Bart Broersma Fixed in Revision => r45044
2014-05-15 23:00 Bart Broersma LazTarget => -
2014-05-15 23:00 Bart Broersma Note Added: 0075013
2014-05-15 23:00 Bart Broersma Status assigned => resolved
2014-05-15 23:00 Bart Broersma Fixed in Version => 1.4
2014-05-15 23:00 Bart Broersma Resolution open => fixed
2014-05-19 08:30 Torsten Bonde Christiansen Status resolved => closed