This is my 1st web app so I have something out of sequence or I’m missing something basic.
macOS 10.12.6
Xojo 2017R3
Safari 11.0.1
I have a “welcome” screen that has 2 buttons - ‘LogIn’ and ‘Create New Account’.
When the LogIn button is clicked, a sheet type window drops down with fields for Account and Password - but for testing, I have a button that says ‘Test’ with this code in the action event:
bLoggedIn = True
Session.sUserIDSession = "test@test.com"
Session.sUserTypeSession = "Test"
self.Close
wProfile.Show
Return
Then I have the following code in the ‘Open’ event of the wProfile window:
sUserID = Session.sUserIDSession
lblUser.Text = sUserID
PopulateUI(sUserID)
The welcome screen displays properly.
The login screen appears to display properly.
When the ‘Test’ button is clicked, the code in the action event executes, control passes to the wProfile window, and the code in the wProfile Open event executes.
Except the Login screen doesn’t close, the wProfile window doesn’t display and everything just sits there.
Would someone point me to what I need to study to make this work. And just for kicks, show be the answer to this so I can get on to work…
thanks everyone,
PS: should have added that the app will deploy to Xojo Cloud but I am just running it in debug mode on local server.
and yes, I am in the Web Framework/