>>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement