Android Question B4XPages - adding a new page

helmut25

Member
Hello,
I am just writing an app, taking the ThreePagesExample as a template.
With the Designer, I added a new form "myStartPage" and generated the members.
But only the two buttons of the new page where inserted in the B4XMainPage, I have no clue how to handle the form.
When I add it to the Globals "Public myStartPage As B4XPage4", it is marked red as an error.
I also tried "Root.LoadLayout("myStartPage") ", but to no avail.

thanx for your help, Helmut
 

helmut25

Member
Don't use the term "form".
Step 1:

View attachment 118182

Step 2:
Go to this module. The designer will generate the members in the current open module.
I have done as you told me. A new file "myStartPage.bas" has been created an "myStartPage" appears in the IDE bar (without prefix "B4X").
But when I click on the new tab and open the Designer, in the filelist only the existing page names are listed, but not the new "myStartpage".
What do I have to do that the new page/module is recognized by the designer and I can add some views?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…