06-15-2017 02:13 PM
Hi again,
I'm sorry to aking all these questions but I have almost finish my program, I want it to be functionnal :3
After the Excel security, I would put one on the "STOP" button of my program. Indeed, currently, averyone can press on STOP and my program is useless (the operator will not be in front of the PC everytime). The computer have to be protected from people to warn.
So, is there a way to ask a "password" or any other security when the operator press on STOP ?
I already found the "pwsample.prj" but I don't know what to do with that (I work on LW2009)
Thank you for your time,
Matthieu
06-15-2017 05:06 PM
If you already have found the example of the password control you are almost done!
You can setup a simple panel with a string control and a OK button, convert the string control to a password control, display the panel and check password control value when the user presses OK: if correct, dismiss the panel and close your program.
06-16-2017 07:15 AM
I'll try to do that in a few days, thank you.
06-16-2017 09:08 AM
I found an other solution,
I have a "NUMERIC" control whereI can change the value.
GetCtrlVal from the control : &code ;
if (code==0000) { Do action}
It's easier to me and it works.
Thank you anyway for you answer !
Matthieu