How can I pass a property to a sub?
Posted on 2000-05-02
I have a public method in a class mod, that i wish to pass a property to. I cant seem to figure out how though. If you look at the syntax for the .Add method of a BindingCollection object, you will see the propertyname passed as a string. But some how in the code it changes that string to a real property or something because it has to bind to that property of the passed object somehow, and that tells it which property to bind to. I know how to pass a string but one i have it in the procedure how can i make it into an effective property?