Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ready for a gourou qestion ???
Message
De
20/05/1997 14:21:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032560
Message ID:
00032977
Vues:
47
>>>>I don't think it will make much difference. Also, you can also create it non visually.
>>>
>>>I'm sorry Mike what do you mean by {non visually} make the Visible property to .F. ???
>>>
>>>Rocky Boy ...
>>
>>create w/ code instead of using the form designer
>
>Thank's Dave
>
>I found some cool stuf if you create a form with {CREATEOBJECT()} it doesn't show until you call the Show method. So Because it don't show it. it take's no longer time(to create) then a custom object. I make test so for 100 creating and releasing >>>
> Form = 1.47 sec. and Custom = 1.44 sec.
>
>the thing is if your base class for your object is a form you can have your own datasession for this object and if use use the technical of CHIN BAE for subclassing a dataenvironment,cursor ... (FOXPRO ADVISOR APRIL 1997) you can have a child dataenvironment
>
>the question is : When you create a form with createobject() it not show the form util you call show method; Do you think that this is a bug or if it's ok and it will still like this in next version of VFP ?
>
>
>Thank's for your help

The behavior regarding CreateObject() and Visible = .F. is by design. BTW, this works for all object created using CreateObject(), not just forms.

-Doug-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform