>Put you one and only READ EVENTS after starting this form:
>DO FORM Login
>READE EVENTS
>
>In Button Click EVENT of the form:
>
>IF LoginSuccess
> thisform.release()
>ELSE
> CLEAR EVENTS
> * clean up
> QUIT
>ENDIF
>
Hi Borislav,
Sorry for not replying you sooner, actually I have two buttons which are login button and logout button, so if the user type the password correctly then the cursor goes to login button and if we press it the form will disappear and pop up the main menu. I have tried your code but it's still didn't work.
Thanks for the reply.
regards,
Budianto