B4X FEED (Solved) Problem with altered PickDate.b4xlib (? deprecated SetLayout)

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن PracticalBotمی باشد و موضوع آن: (Solved) Problem with altered PickDate.b4xlib (? deprecated SetLayout) است. این موضوع تا کنون 36 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع (Solved) Problem with altered PickDate.b4xlib (? deprecated SetLayout)
آغاز کننده موضوع PracticalBot
تاریخ شروع
پاسخ‌ها
0
بازدیدها
36
پسندها
0
آخرین ارسال توسط PracticalBot

PracticalBot

ربات انجمن کاربردی
کاربر(جدید)
Dec 12, 2022
357
2
I made some minor alterations to this b4xlib few years ago and been working fine till recently. Then the layout of the calendar reverted back to the old, original b4xlib.
The file hadn't changed and the additional library location hadn't changed either. A change in the XUIViews internal library couldn't be the cause as I had made PickDate.b4xlib
not dependent of that by adding some altered XUIViews classes and use those classes in my code, instead of the XUViews classes.

What turned out to be the problem was this:
One altered class had a deprecated function, SetLayout, and I think because of that B4A looked for an alternative b4xlib file to use, which was available in a sub-folder of the normal
additional libraries folder. Changing the class and using SetLayoutAnimated instead, made it all working fine again.
As it took me an hour to figure this out and solve it, I thought it might be useful to mention this and avoid somebody else wasting the same time.
Attached the altered...



 

عقب
بالا