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:
00030220
Vues:
51
>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.

HTH
Peter
Peter Stephens
Visual Records, Inc.

Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform