Simplicty and flexibility!


How to check 'password' and make sure it can't be seen.


Started by charmaine smit
Search
You will need to Sign In to be able to add or comment on the forum!

How to check 'password' and make sure it can't be seen.

I need some help please , I want a Cashier to approve a surplus/shortage with their password, but I need the password to hide after it was entered or while they are entering .

Then I need to check that the password is valid.

I thought of using SetState , and it works and hides the password entered , but then it does not check that the password is correct , as of the password was not entered

Please help me 


Written by charmaine smit 09/10/24 at 18:59:01 Dataease [{8}]FIVE

Re:How to check 'password' and make sure it can't be seen.

Download Sample

Please find enclosed simple sample that show you you can use different SetClass() functions like SetLabelText(). SetStyle(), SetFocus() etc. to achieve your goal...

We use white on white to hide the input in the field and then we have a virtual field (hidden in manip with SetState) that look up the value from My Users and another virtual field that check and enable/disable the login button etc. It also use SetFocus() to set focus to the login button, and use SetLabelText() to change the text on the button and the message label etc.

In LE9/DE9 you could have done all this quite a lot more elegant but hey ho ;-) This is not that bad...


Written by DataEase 09/10/24 at 19:00:25 Dataease [{8}]FIVE
DG3_ForumList