iOS Question Numpad view can't add on the ClvExpandableList

watesoft

Active Member
Licensed User
Hi,Erel
When I add Numpad view on the ClvExpandableList.
Debug: Error occurred on line: 53 (Numpad), Object was not initialized (B4IPanelView)

When I add 'RootPanel.Initialize("RootPanel")' in NumPad class module.
Debug:Ok, but small NumPad keyboard is not visible.

I have upload zip file.
 

Attachments

Erel

Administrator
Staff member
Licensed User
You shouldn't limit your questions to a single member.

You can make Page1 in Main module a public variable and then change the code in Numpad to:
B4X:
RootPanel = Main.Page1.RootPanel
However:
1. It will still require some work to handle the position.
2. I'm not sure that this is the best idea to create a numpad control for each of the list items.
3. It is not really needed here as you can handle the keyboard state and decrease the list size:
https://www.b4x.com/android/forum/threads/calcrelativekeyboardheight-example.64054/
 

watesoft

Active Member
Licensed User
You shouldn't limit your questions to a single member.

You can make Page1 in Main module a public variable and then change the code in Numpad to:
B4X:
RootPanel = Main.Page1.RootPanel
However:
1. It will still require some work to handle the position.
2. I'm not sure that this is the best idea to create a numpad control for each of the list items.
3. It is not really needed here as you can handle the keyboard state and decrease the list size:
https://www.b4x.com/android/forum/threads/calcrelativekeyboardheight-example.64054/
Now it works, Thanks Erel for responding and advice.
 
Top