Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - CREATEOBJECT (FORM)
Message
From
27/03/1997 10:18:15
 
 
To
27/03/1997 10:11:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00025686
Message ID:
00025846
Views:
49
>>>>>I coded...
>>>>>frmMyForm = CREATEOBJECT('Form')
>>>>>everytime I run it, it opens and then goes away.
>>>>>help?
>>>>
>>>>Form is here but non-visible and modeless. Do frmMyForm.visible=.t. at least.
>>>
>>>The FORM shows itself, but goes away like it needs a READ EVENTS?
>>>help
>>
>>So use READ EVENTS, if you don't have it yet.
>
>I has READ EVENTS. I am using code and calling the code as a function.
>
>The code builds the form and grid.
>Shoud I use a FORM file instead of code?

It looks that your form is hidden behind some other form. So use Formname.SHOW() to bring it up front. Also, some other think must be checked (e.g. it might be that some other active form has AlwaysOnTop=.t.). Basically if you are not sure in your code, use standard VFP way of building forms (Form Designer).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform