B4J Question Outsource forms

Iatros

Member
Licensed User
Hi,

I hope I can explain my question with the right words.

At the moment I have a TabPane in my main Form and add the layouts as TabPage. I created new modules for outsourcing functions.

My idea: A navogation list on the left side with buttons on a scrollbox. The different forms will be displayed on the right side by clicked one of the buttons. The menue structure on the left side could change depending on which button is clicked.

How can I do it ? I thought two panes in the main form for menue and content. And then display it. And here I don't know how to do it. And second - I will have more structure. If there is any better idea as my actual way - you're welcome to say it :)

Thank's !
 

Attachments

  • screen.png
    screen.png
    30.4 KB · Views: 156

Iatros

Member
Licensed User
One problem I got.
And you won't enjoy my solution !
Instead a TabPane now I have a B4XView Pane on main. There in I load different layouts. But on start I have to load some data into components on the other layouts. And I need access to every component from every layout.
Now I made 11 B4XViews, invisible, load the layouts, on click the menue button I will display the corresponding pane.
It works, but ..?
Another way - go back to TabPane, place an ImageView over the TabStripes and select the Tab per Code. Don't know if possible.
 
Upvote 0
Top