Android Question AnotherDatePicker.b4xlib

Johan Schoeman

Expert
Licensed User
Longtime User
Something strange when I use this b4xlib

https://www.b4x.com/android/forum/threads/new-feature-b4x-lib-a-new-type-of-library.100383/

I have "unpacked" the b4xlib file and briefly looked at the code in the class module but cannot pick up why the "Cancel" button shows "720" and not "Cancel" as per the datepicker.bal layout file. I cannot see btnCancel text being changed from "Cancel" to "720" in the class module.

This is what I see (note the "720" and not "Cancel"):

1.png
 

Johan Schoeman

Expert
Licensed User
Longtime User
Don't use that library. It was just created as an example. The number is set in the designer script.

Use XUI Views instead.
Now I see it. Thanks Erel

B4X:
btnCancel.Text = 75%x
 
Upvote 0
Top