Open
Description
I noticed the OnMouseX events in TPaintBox are not handled.
File "frmMain.py", line 21, in init
self.PaintBox.OnMouseDown = 1#self.MouseDown
AttributeError: Error in setting property OnMouseDown
Error: You can only assign a callable to method property "OnMouseDown"
even though the field is present.
I note from
https://en.delphipraxis.net/topic/6011-onmousedownup-events/
which suggests MouseEvents are not yet handled. This seems a bit of an oversight
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
lmbelo commentedon Jan 16, 2022
@hsauro there are some missed events wrappers.
Collect as much suggestions as you can and send to us, please. You can also contribute with pull requests.
All help is welcome.
hsauro commentedon Jan 20, 2022
I'm not sure how to add the wrappers but I'm happy to provide samples for users to look at.
lmbelo commentedon Jan 20, 2022
@hsauro all contributions are welcome.
I'd suggest you to have a look at the WrapFmxForm. The "TCloseQueryEventHandler" is a good example in how to create events wrappers.
I'd like to receive your pull request :)
hsauro commentedon Jan 20, 2022
lmbelo commentedon Jan 20, 2022
I hope to get it done soon.
shaunroselt commentedon Mar 6, 2023
Could you link directly to the
WrapFmxForm
file, please? I'd like to see this also.