Password inputfield (Dialogs, other) => if passw not match

Password inputfield (Dialogs, other) => if passw not match

Postby r0n on Fri Oct 07, 2016 4:05 pm

Dialogs, other >> Password input box
The dialog settings for the password inputfield has the setting:
"If password does not match"

If I test this, the indented code directly below the if statement is executed when the "Cancel" button is pressed.
I would expect that it would be executed when password does not match.

Macro m1     ?
if(!inpp("[*C9104FF08510827805*]" "This is the description..." "This is the TITLE!" 1)) ;;show password input box. If Cancel or incorrect password...
,out "USER CANCELED(?)"


The 'out' get's executed when I press "cancel"
Portable QM, version 2.4.3.8 (windows 7, 64bit English)

I might have overlooked something. If that is the case, my apologies.
r0n
Active Member
 
Posts: 500
Joined: Tue Jul 24, 2012 5:47 am

Re: Password inputfield (Dialogs, other) => if passw not match

Postby Gintaras on Fri Oct 07, 2016 4:14 pm

inpp has only two return values - 1 if correct password; 0 if Cancel or incorrect password. It cannot be used when you need

sel password dialog
,case correct
,case incorrect
,case Cancel

Create a custom dialog, it is easy.
Gintaras
Site Admin
 
Posts: 10412
Joined: Thu Dec 19, 2002 7:36 pm
Location: Lithuania

Re: Password inputfield (Dialogs, other) => if passw not match

Postby r0n on Fri Oct 07, 2016 4:24 pm

Ok, will do! Thank you!
r0n
Active Member
 
Posts: 500
Joined: Tue Jul 24, 2012 5:47 am


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest