>Hello people, i have a question for the function doform(), this funcion use a local variable called loObject, well, i dev a class form and use doform to up, but show and disapier, the form is not modal, i see forms in project manager without modal and run ok, what is the way?, in another app i use a public variable and the form dont release, what is the secret? why my forms in local variable dissapiers and anothers not?
>
>I working in a project and this issue is a very important topic.
>
>Thanks in advance
>
>Best Regards
>
>Francisco Morosini
Francisco,
Forms that show and disappear right away are usually caused by a Z-order problem, which causes your form to return .F. from Init(). In your form's properties sheet, make sure that oSessionEnvironment is the first object in the drop down list after your form. Then, all of your BizObjs and cdeLogicals come next. Otherwise, you'll see the problem you're mentioning.
Hope that helps...
---J