Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - CREATEOBJECT (FORM)
Message
De
27/03/1997 10:18:15
 
 
À
27/03/1997 10:11:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00025686
Message ID:
00025846
Vues:
45
>>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform