Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Redefine THIS. error
Message
 
 
To
28/05/2021 10:43:39
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01680602
Message ID:
01680813
Views:
38
>>>>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?
>>
>>Hi Jos (or anyone else who could help with this),
>>
>>I was thinking of what you wrote (above) some days ago. In the command window I can duplicate this error (as you correctly wrote). Could you think of an example, of how I would duplicate this error in a VFP form at run time?
>>
>>TIA
>
>Are there any places in the code where you're using macro substitution?

Almost never.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform