Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Redefine THIS. error
Message
 
 
À
19/05/2021 14:27:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01680602
Message ID:
01680604
Vues:
44
>>Hi,
>>
>>Do you know what would cause the error?
>>
>>cannot redefine THIS.
>>
>>
>>TIA
>
>THIS is a keyword, refers to an object like a window or a control. Just enter the following in the command window to see the error occur:
>
>
>this = 5
>
>
>Anything like that in your code, perhaps where you wanted to reference a property of the object THIS refers to?

First, thank you for your help.
I checked the method (INIT) where this error occurs. I have many places where the code references various properties with
thisform.someproperty 
I have an idea of what caused the problem. I will try to duplicate.
Thank you, again!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform