I had started with a bunch of controls on a page object and all was working fine. I then moved all those controls to a container and for some reason all of my TextArea and TextField controls are now displaying as if they are disabled (darker grey background and unable to enter any text). All of the Buttons are also now disabled. Checking at runtime, the controls’ Enabled property is True, and ReadOnly is False.
I think when converting to the container, I just switched the page’s super to WebContainer. And the container is added to the main page dynamically using EmbedWithin.
I’m thinking of making a new container from scratch, and then copy/paste everything from the current container into it to see that changes anything…
Don’t do this just yet. Try and recreate the problem in a test project. If you can do so, then you know it’s a framework bug. Please post that project here and also create an Issues Ticket.
If you can’t recreate the problem, then now we can chalk it up to ghosts in the machine. If you would like, I would still suggest a ticket, but you’d have to mark it private and give them your whole, real project.
Personally, I would try to debug it as described above before going down the starting from scratch route.
Yes! I was just looking at the .xojo_code file for the container and the Enabled property is set to False. The popup menus and the combobox controls still worked, but that is probably due to the ticket @Tim_Parnell mentioned above.