Message
From
01/01/1999 16:59:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Activate Form as Modal
Miscellaneous
Thread ID:
00172105
Message ID:
00172105
Views:
79
I'm converting from fox windows to VFP and I'm hung up on what must be very simple. Sometimes, I'm easily confused<g>.

I have a small form that I need to activate as Modal, or focus must stay in that form until its closed. I've previously made up the form using the form designer.

If I place this code in the click event of a command button from the parent form: "DO FORM MySmallForm", The form opens as modeless. Placing code in the show event has no effect. Do I need to place code in a different method?

If I place this code in the click event of a command button from the parent form: "MySmallForm.show(1)", I get an error, "object not found". If I use the CREATEOBJECT function I can define a form with code that works, but I'd like to be able to use the form designer. Is there a way to define or recognize my form designer form?
Fruit Grower by day, VFP trainee by night
Next
Reply
Map
View