>thanks for the replies.
>
>I put the code in the Init.
>after I switched to Activate, it's okay.
>
>regards,
>
>Jerry
If you wanted to release form from the Init method, you need to return .f. from it.
Same applies to the Load method.
In other words, Load and Init methods are two exceptions - you release the form by returning .F. from them.
If it's not broken, fix it until it is.
My Blog