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
Title:
Hiding and Showing windows/forms.
Miscellaneous
Thread ID:
00649129
Message ID:
00649129
Views:
41
I have two forms that I am working with. The main form is JDE_MATERIAL and the second form is FRM_POLIST_EXPAND. From the JDE_MATERIAL form I click on a button that hides the JDE_MATERIAL form and calls the FRM_POLIST_EXPAND form to show an expanded view of the purchase order list. Once the user selects the purchase order that he/she wants to see, he/she clicks on the select button and it closes thes FRM_POLIST_EXPAND form and re-shows the JDE_MATERIAL form. The problem is that I haven't been able to get this to work. I don't want to create a form set because I may use the FRM_POLIST_EXPAND form in other areas outside of the JDE_MATERIALS form.

Here is the code I have so far....

*================================================*
*--Object: jde_material.commandgroup1.command1
*--Form: jde_material.scx
*--Code Updated:
*--Programmed By:
*--Modified By:
*--Purpose:
*================================================*
DO FORM FORMS\frm_polist_expand
thisform.Hide


*================================================*
*--Object: frm_polist_expand.destroy
*--Form: frm_polist_expand.scx
*--Code Updated:
*--Programmed By:
*--Modified By:
*--Purpose:
*================================================*
if wvisible(jde_material) = .F.
show window (jde_material)
endif

I am still trying to get this to work. I have tried some other ideas and none of them seem to work so far. Any suggestions would be appreciated. Thanks in advance!
Anything worth doing is worth doing...The right way!
Next
Reply
Map
View

Click here to load this message in the networking platform