B4X FEED Views are not ready but their events are triggered

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Views are not ready but their events are triggered است. این موضوع تا کنون 30 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Views are not ready but their events are triggered
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
30
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,517
4,383
This is nothing new and I know what somersaults I have to do :confused: 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.

 

عقب
بالا