This is nothing new and I know what somersaults I have to do to get around this obstacle but if Erel could remedy this problem...!
By running a B4XPages.Show(SomePageID) command, the B4XPage_Created event routine of that page is correctly and immediately executed and the layout loaded (or, more precisely, within that event I write the code to load the layout). Events like TextChanged, in my case of B4XFloatTextFields, are triggered immediately, but the views are not yet available, actually created, and this is a problem.
Concrete example: I want to enable/disable a button based on the text contained in some B4XFloatTextFields, i.e. if the user has filled in those fields and with valid values.
I am attaching an example. Again, I know how to get around this problem but it would be better if it didn't exist.
P.S. I also have to act on those views for other reasons and obviously the problem is the same.
By running a B4XPages.Show(SomePageID) command, the B4XPage_Created event routine of that page is correctly and immediately executed and the layout loaded (or, more precisely, within that event I write the code to load the layout). Events like TextChanged, in my case of B4XFloatTextFields, are triggered immediately, but the views are not yet available, actually created, and this is a problem.
Concrete example: I want to enable/disable a button based on the text contained in some B4XFloatTextFields, i.e. if the user has filled in those fields and with valid values.
I am attaching an example. Again, I know how to get around this problem but it would be better if it didn't exist.
P.S. I also have to act on those views for other reasons and obviously the problem is the same.
Attachments
Last edited: