rwestbury
14 years agoContributor
Grabbing Properties via String
Hi,
Is it possible to grab the value of a certain property, when I have the property and value I'm interested in saved in variables?
For example, I want to be able to do this:
'Assume property = "Left", and expectedValue = 22
If object.getValue(property) <> expectedValue Then
Fail
End If
Thank you,
Robert.
Is it possible to grab the value of a certain property, when I have the property and value I'm interested in saved in variables?
For example, I want to be able to do this:
'Assume property = "Left", and expectedValue = 22
If object.getValue(property) <> expectedValue Then
Fail
End If
Thank you,
Robert.