Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
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