Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't release because of object reference?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030164
Message ID:
00030242
Vues:
41
>>As a matter of fact, I tried just that. But no go. I've gotten it to work by using name referencing instead of object referencing, but it is a poor kludge; macro substitution is ugly. I'm still looking for the proper way to fix this :(.
>>
>>Michael.
>
>I agree with you, using names is messy, but its the only way I have found to accomplish this task.
>
>To make things neater do something like:
>
>with evaluate("this." + this.cObj)
>    .Enabled = .F. &&&& or whatever
>endwith
>
>This allows you to use the same name for a number of steps without having to reevaluate every time.
>

Thanks, this is a bit neater until we figure out the proper way to do this. Anyone? Has anyone had problems releasing forms when you have "this.objref = thisform.txtMyTextBox" in controls?

Michael G. Emmons

Michael G. Emmons
memmons@nc.rr.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform