General information
Category:
Forms & Form designer
Title:
Scope of Properties
Forgive me if I sound confused. I was under the impression that if you add a property to a form, that property is available for the duration of the form. Example, I added a new property to a form, that will accept a parameter passed to it from another form. When I query the value of the property ( variable ? ), I see in the debugger that it is considered a local type. Am I just as far ahead to declare a public variable in the load event to accomplish the same thing, because the add property approach doesn't seem to do what I want. Of course I could be setting it up incorrectly.
I guess I misunderstood the use of properties, I was able to accomplish my objective by using a plain old public variable declaration. Properties I guess are restricted to classes and controls.
Thanks To All
Carmen
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