Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding and Showing windows/forms.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00649129
Message ID:
00649176
Views:
11
Jim,

I tried this. It doesn't bring back the original form. The form FRM_POLIST_EXPAND closes out but does not show the form JDE_MATERIAL again. I did verify that the second form is modeless as is the first form. Any ideas?

>Keith,
>
>Try the following mods to your code. Also make sure the second form is NOT modal.
>
>
>*================================================*
>*--Object:  jde_material.commandgroup1.command1
>*--Form:  jde_material.scx
>*--Code Updated:
>*--Programmed By:
>*--Modified By:
>*--Purpose:
>*================================================*
>DO FORM FORMS\frm_polist_expand WITH Thisform
>thisform.Visible = .F.
>
>*================================================*
>*--Object:  frm_polist_expand.Init
>*--Form:  frm_polist_expand.scx
>*--Code Updated:
>*--Programmed By:
>*--Modified By:
>*--Purpose:
>*================================================*
>LPARAMETERS poCaller
>* Create a customer property named oCaller for this form in the form designer
>Thisform.oCaller = poCaller
>
>
>*================================================*
>*--Object:  frm_polist_expand.destroy
>*--Form:  frm_polist_expand.scx
>*--Code Updated:
>*--Programmed By:
>*--Modified By:
>*--Purpose:
>*================================================*
>* Make the caller visible
>IF VarType(Thisform.oCaller) = "O"
>   * We have an object that called us
>   This.oCaller.Visible = .T.
>ENDIF
>
Anything worth doing is worth doing...The right way!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform