Login pichure

Login pichure

Hello,
I have login picture with user name and password and i use it for access to control panel picture with open and close command(standard picture). I configured the button (OK) on the login picture with function ( pichure swith ) and parameter (control panel picture).
When i am entering the currect user name and password the control picture oppining normal but it also oppening with wrong user name and password after closing the window which telling about wrong user name and password.
I need a way that if the user name or password is wrong control panel picture can not be open.
Thanks in advance

This is a migrated post! Originally posted on 14.12.2010 by user yara. Please be aware that information can be outdated.