MitchBu Well-Known Member Licensed User Longtime User Mar 30, 2021 #1 I am trying to add items to a picker, but nothing shows on the screen. What am I missing ? Here is what I have so far: B4X: PkrRegisterPrintFrom.Initialize("PkrRegisterPrintFrom") PkrRegisterPrintFrom.SetItems(0, Array("Un", "Deux", "Trois"))
I am trying to add items to a picker, but nothing shows on the screen. What am I missing ? Here is what I have so far: B4X: PkrRegisterPrintFrom.Initialize("PkrRegisterPrintFrom") PkrRegisterPrintFrom.SetItems(0, Array("Un", "Deux", "Trois"))
Semen Matusovskiy Well-Known Member Licensed User Mar 30, 2021 #2 If PkrRegisterPrintFrom is placed in layout, remove Initialize. If PkrRegisterPrintFrom is not a part of layout, you need to set parent, frame, etc. like for any view. Upvote 0
If PkrRegisterPrintFrom is placed in layout, remove Initialize. If PkrRegisterPrintFrom is not a part of layout, you need to set parent, frame, etc. like for any view.
MitchBu Well-Known Member Licensed User Longtime User Mar 30, 2021 #3 Oops... Indeed PkrRegisterPrintFrom has been added in the designer. I removed the initialize line, and now I see the content Thank you Semen ? Upvote 0
Oops... Indeed PkrRegisterPrintFrom has been added in the designer. I removed the initialize line, and now I see the content Thank you Semen ?