Xojo 2022R3
I am having a problem on Windows with DesktopTextField (Not Area) not being able to receive focus. On Mac I don’t have the problem. Yes that means in the debugger, I have a breakpoint set.
When I look in the LR under FocusReceived there is this line:
This property must be set to True for the DesktopUIControl to be capable of getting the focus.
I assume that refers to FocusRing, and which is yes in properties.
What could be blocking it from receiving Focus?
Edit: I have DesktopTextAreas which do have that ability
Have you tried this in 2023r1.1 to see if it’s already fixed?
I didn’t renew my license and thought it expired. I am downloading more recent versions.
Have you tried it in older Xojo versions to see if it’s a regression?
I tried older versions both of my code and of Xojo as far back as I could go for installed XOJO Version 3 (I think I got that right) or XOJO or 2021r3.1.
I can’t remember when Version 3 started, but when I do I’ll install it.
I also tried using a straightup TextField, which also failed.
I also tried my built version and some of my DesktopTextFields worked properly, but the one which started this quest doesn’t work. That’s good but confusing news
I’ll try that with the current release when I download it.
My suspicion is it is caused by volume of code. I have over 3mb of code, but also have 20 windows.
When I’ve had issues like this, and I haven’t recently, I deleted the control and added a new one with a different name. Save the project, quit Xojo, and restart Xojo.
Ok, just to make sure, this only fails in Windows (not Mac), right?
If that is the case then someone with Windows will need to test your project (I don’t, sorry).