Hi,
Is it possible to use Inputdialog function in order to get two input fields appear at the same time?
The purpose is to make the program ask for username and password and the input fields have to appear in the same window. There should of course also only be buttons, 'Login' and 'Cancel'.
Code currently looks like this:
It's pretty much a copy of the original, but I'm stuck :/
Thankful for some help or suggestion...
Is it possible to use Inputdialog function in order to get two input fields appear at the same time?
The purpose is to make the program ask for username and password and the input fields have to appear in the same window. There should of course also only be buttons, 'Login' and 'Cancel'.
Code currently looks like this:
PHP:
Sub Login_Click
Dim Id As InputDialog
'Id.PasswordMode = True
Id.InputType = Id.INPUT_TYPE_DECIMAL_NUMBERS
'Id.InputType = Id.INPUT_TYPE_NUMBERS
'Id.InputType = Id.INPUT_TYPE_PHONE
Id.Input = ""
Id.Hint = "Username"
Id.HintColor = Colors.ARGB(196, 255, 140, 0)
ret = DialogResponse.CANCEL
ret = Id.Show("Enter username and password:", "Login", "Login", "Cancel", "", Null)
ToastMessageShow(ret & " : " & Id.Input, False)
End Sub
It's pretty much a copy of the original, but I'm stuck :/
Thankful for some help or suggestion...