iOS Question Numpad view can't add on the ClvExpandableList

watesoft

Active Member
Licensed User
Longtime 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

  • B4i_ExpandableList.zip
    9.2 KB · Views: 148

Erel

B4X founder
Staff member
Licensed User
Longtime 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/
 
Upvote 0

watesoft

Active Member
Licensed User
Longtime 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.
 
Upvote 0
Top