Hi Rathinagiri,
many thanks for your interesting.
Attached, you can find two sources. One is made with a classic style while the other with classes.
Explanation of the simulation:
- The appearance of a main form, automatic appearance of a form to log (buttons simulate the login deny or accept).
- If rejected, the main form must disappear, otherwise you can start working.
Note: at this time, to allow the issue of the login form, a button is activated, read the source code and uncomment the lines indicated.
Problems.
1) if I remove the statement "oEventLoop:Exit( 0 )" from "BadLogin()", the login form does not disappear when you press "BadLogin".
2) when you uncomment the lines indicated in the source, to simulate the automatic login, if you press the "Bad login" the main form does not disappear, it will remain.
Cheers.
For everyone, in my land it's arrived the Carnival. "Storico Carnevale di Ivrea" Italy.
These are some pictures
http://www.google.it/images?hl=it&q=ivr ... 80&bih=553
On YouTube a lot like this
http://www.youtube.com/watch?v=PiYUCbHYN3M