Is there an indirect reference capability in VB?
Posted on 2000-03-21
I want to be able to do an indirect reference of properties in my application. For example, I have a list of properties I need to save, in the form of strings like "frmMain.Top", and I want to go through the list processing each property. I'd want to write something like
propertyList = "frmMain.Top"
savedProperty = IndirectionThingy( propertyList )
and savedProperty would contain the numeric value of frmMain.Top .
I know other languages have features like &varname meaning, not the contents of varname, but the contents of the variable whose name is in varname.