Forum > Cocoa

LCLIntf.SetFocus don't call DoEnter for my control

(1/1)

AlexTP:
Under Windows/Linux gtk2/qt5, calling LCLIntf.SetFocus makes control focused and calls its DoEnter.
On Cocoa, DoEnter is not called in my atsynedit component. I must add the IFDEF workaround in atsynedit component.

(Note: atsynedit changed the SetFocus implementation and it calls LCLIntf.SetFocus by itself.)

Maybe Zoe knows what to do here?

rich2014:
hi, Alex

could you please create an issue with details and samples?

AlexTP:
I made a demo but cannot reproduce it on macOS now.
https://github.com/Alexey-T/FreePascal-tests/tree/master/DoEnter_is_not_called

Navigation

[0] Message Index

Go to full version