Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide method
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00752961
Message ID:
00752962
Views:
10
>In some instances, I need to hide my form before it displays, call a child form, then make the parent form visible again. In the init method of my parent form, I have THISFORM.hide, and it does indeeed hide the form, but I get an error message that says "property hide is read-only". This seems interesting because why would it hide the form it it if really read-only? Using VFP 6 Sp5.
>
>Thanks!

Try this instead:

DO form test NAME loTest noshow
*!* do other stuff here
loTest.Show()

if it needs to be shown as modal:

loTest.Show(1)

if it needs to be shown non-modal:

loTest.Show(0)
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform