Popup memu in container control

I make a window with a button, popup menu, and a text field. The button reads the popup menu selected row index and puts it in the text field.

Now, add a tab panel with a container control and put the text field and popup menu in the container. I get a reference to the container and otherwise run the same code. Now everything returns a nil object error

There was apparently a similar problem with list boxes a few years ago. Is there something I can do to get past this?

You need to create a MobileContainer, add your controls to it, and then assign the container to the MobileTabPanel.

Here’s a sample project.

Android_Sample.xojo_binary_project.zip (5.2 KB)