B4J Question B4xPages show form modal

fred-han

Member
Licensed User
Hi,
i try to work in my new project with B4xPages and i have the problem to show a page MODAL.
Can't find any properties to do this.
How can i do this, or is this behavior not intended?
Thanks for your help.
 

fred-han

Member
Licensed User
Hi LucaMs,
maybe i expressed my problem incorrectly. I use more then one page and want some pages to be shown as MODAL, so that the user can't click into the other pages (forms).
In a "normal" B4J Project i use "showandwait". In B4xPages ?????
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Hi LucaMs,
maybe i expressed my problem incorrectly. I use more then one page and want some pages to be shown as MODAL, so that the user can't click into the other pages (forms).
In a "normal" B4J Project i use "showandwait". In B4xPages ?????
The project attached does it.

Change the size of pagOne (the "modal form") to see it better.

EDIT: Have you pressed the button on the B4XMainPage, right?
 
Last edited:
Upvote 0

fred-han

Member
Licensed User
your test-project has only one page. MainPage.
I use several pages, several page-classes. I use the B4xpages.AddPage function and then show the new page.
The behavior should be that the first page (MainPage) is locked until the second page is closed.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
your test-project has only one page. MainPage.
The project has two form pages!
Das Projekt hat zwei B4XPages! :)

1.gif


pagOne (damned name ?) is the second B4XPage-Form shown as modal.
You can add that way how many B4XPages-Forms you want.
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
Upvote 0
Top