I need to show a form to ask the user for a password, but after method form.show the program continue on the next line. How can I simulate a MODAL form? Its it possible? Like this:
B4X:
'rem get password and set up a global var SUPER
GetPassword.Show
do while GetPassword.IsRunning
doEvents
loop
'ask var
if SUPER = true then
'do a lot of things
else
ShowMessage("Password incorrect")
end if