Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release a form
Message
 
 
À
17/11/2004 05:17:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00960885
Message ID:
00962378
Vues:
13
Thomas,

What Fabio proposes is a rather unuseful thing though.

Createobject() objects aren't part of the form containership hierarchy and therefore they do not participate in the event loop, ie you can't interact with them via the mouse or keyboard and they can't be seen.
oForm = createobject( "form")
oForm.Visible = .t.
oForm.AddProperty( "oButton", createobject( "commandbutton" ) )
oForm.oButton.Visible = .t.
You can't see the button, you can't click it.
oForm.AddObject( "GoodButton", "commandbutton" )
oForm.GoodButton.Visible = .t.
this one you can see and click

>are you saying that the destruction will be *markedly*
>faster if you don't form.addObject into 1000 form control references
>but instead createobject() into a form.myAddedButtons[1000]
>and releasing them manually with form.myAddedButtons = .f. ?
>
>Or have I misunderstood your answer ?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform