Hi,
Thank you for reply.
I have try your suggestion, but it seem not working, and I am not very sure how to do so. Can you please send me a sample, which
1. A form modal that act as login form, will be run on main.prg.
2. The login form will return value to main.prg for validation.
3. At this moment, my login form is hide itself when user click on OK or cancel button. Then main.prg will get it's return value from loginform.property, and release. IF you have other way, please use it.
4. If login successfully, frmMAin will be called.
Please note that, I may call this login form to let user login for switch user and inherit it to be only supervisor login form. (It is ok if you don't have time to consider this)
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...