XSharpPublic
XSharpPublic copied to clipboard
Problem opening form with event
Attached simplified (in self contained project) form contains this code in designer.prg:
PRIVATE dragDropEvents1 AS DevExpress.Utils.DragDrop.DragDropEvents
SELF:dragDropEvents1 := DevExpress.Utils.DragDrop.DragDropEvents{SELF:components}
SELF:dragDropEvents1:DragDrop += DevExpress.Utils.DragDrop.DragDropEventHandler{ SELF, @dragDropEvents1_DragDrop() }
PRIVATE METHOD dragDropEvents1_DragDrop(sender AS System.Object, e AS DevExpress.Utils.DragDrop.DragDropEventArgs) AS VOID STRICT
The code builds with no errors or warnings, but when trying to open the form in the designer, it fails with this error:
The type 'DevExpress.Utils.DragDrop.DragDropEvents' has no event named 'dragDrop'
Note that the message mentions the event cased as "dragDrop", while it is actually being specified in the code differently, as "DragDrop"