Hi Bin,
The framework takes care of destroying the form once you hide it. Before doing so, it grabs the value of the form's uRetVal property.
Visit my web site for a short explanation on how this "trick" is done (follow the links under "developers").
Thanks!
Alex
>You must Release your form if you want tp get a return value from a form.
>Try to add "release thisform" before thisform.hide() and add "return thisform.uretval" in destory event.
>The method hide will never quit the form.
Low-carb diet not working? Try the Low-food diet instead!