The form must be modal.
>Hi,
>I have a custom based class that in one metod have this:
>
>THIS.ADDOBJECT("oLoginWindow","loginform")
>THIS.ologinwindow.SHOW
>
>Everything works great. loginform is form based subclass that returns value in unload event.
>
>if login form is run as standard form Do FORM loginform to lVar, normaly lVar contains returned for value.
>But how to achieve the same thing when instanciated as above.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer