>Do u mean hide the form( it is a class) rather than releasing it? get the property and then release it ?
>
>No other way ?
>
>with
> do form i can use do form myform to m.value1
>
>but with the class I am in a fix.
>
>Now that i will have to convert all the class into forms
>
>suhashegde
You can do the same with a scx form (which hides instead of releasing), using the name clause:
do form myform name oMyFrm
lMyValue=oMyFrm.myProperty
oMyfrm.release()
oMyFrm=null
Of course, this works only for modal forms - for a modeless form, the code doesn't stop after Do Form.