custom-editfield icon indicating copy to clipboard operation
custom-editfield copied to clipboard

CEF doesn't update unless resized

Open gkjpettet opened this issue 7 years ago • 1 comments

I've dropped the CEF folder into a new desktop project on macOS (10.13) using Xojo 2017 r3. Despite AcceptFocus being on, the EditField doesn't update at all with keypresses, selection, the arrow keys and the caret doesn't blink. If I resize the window, any changes I had typed in the EditField suddenly show up. I've been through the demo project and my CEF settings in the inspector match up. If I call self.Refresh() from within CEF.TextChanged() then the changes are reflected but things like selecting text don't work.

I'm sure there's something simple I'm missing here. The demo project works fine.

gkjpettet avatar Feb 22 '18 14:02 gkjpettet

Use my tool Arbed to compare your project with the demo project to see where the differences are. If you find the reason, post it here for others to see and close this ticket, please.

tempelmann avatar Feb 22 '18 14:02 tempelmann