General information
Category:
Coding, syntax & commands
>Hi Dan --
>
>Not entirely sure. I've never used a memvar as a control source. I gave up all but LOCAL memvars when I moved to VFP.
>
>>If you had a public variable and in your control source you had a variable of the same name, wouldn't it hide the public variable?
I remember after training a beginning programmer for just a short while, he was placing variables in the form's control source without declaring them any where. Actually, I had never seen anything like that before, but it turned out that the variable was private and could be seen throughout the form. I believe it's for backward compatibility.
I would guess that if you had declared a public variable that the control source's variable would hide the public variable being private by default. But without testing it, there's no way to tell.
Dan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only