B4J Question Adding Sign In View to My App

cklester

Well-Known Member
Licensed User
I've created a B4J app and now need to add a "Sign In" dialog. I don't know how to add it, since it seems B4XMainPage takes control.

I've created a new Sign In page. Should I try to make the Sign In page the new B4XMainPage, or is there a way to call the Sign In window from B4XMainPage? Should I instead call the Sign In page from Main.AppStart?

Should I use a dialog in B4XMainPage instead?
 

cklester

Well-Known Member
Licensed User
I've got it basically working, but there is an issue with how I've set it up.

The sign-in window starts displaying at 600x600, then its height is reduced to 250. This causes it to not be centered on screen.

So, how do I set the size prior to display to make sure the sign-in window has the 250 height and is centered on open?

(B4J project attached)
 

Attachments

  • signin_test.zip
    5 KB · Views: 135
Upvote 0

cklester

Well-Known Member
Licensed User
OK, one more thing... How do I go from the Signin window to the Main window?

See attached B4J project, which needs to open the main window from the signin window.
 

Attachments

  • signin_test_2.zip
    10.7 KB · Views: 153
Upvote 0
Top