Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property click is read only
Message
De
06/11/2000 23:31:08
 
 
À
06/11/2000 16:48:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00438468
Message ID:
00438664
Vues:
11
Trey:

>> Because it is an assignation, VFP tries to assign 'Release thisform' to the
>> 'Click' property. Since Click is not a property, you get the Property CLICK
>> is not found. message.

> That makes sense.
>
> But it should indicate that the reason you got this error was because you
> tried to assign a value to a method. IMHO, even if it gave the "CLICK is
> a method, event or object" error instead, it would make more sense.

Maybe. But it is much easier to just trap for "not a property" than to have a more complicated error handler that looks for several possible causes and assigns a priority to them. SWAG, this is the way it was implemented in VFP.

Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform