Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3768

Addressing object properties

$
0
0

Is there a mechanism for addressing object properties (or constants) in a manner that is similar to the techniques used for identifying folder items?

So, for example, is it possible to do something like:

Object.Property(“theName”) = value

The obvious first question is “why not just use Object.theName?” It’s because I have a large number of properties to set and I would like to create a generic routine to do so.

Consider 100 sets of the following information.

Object.Property1 DataName1, DataValue1

Property1 and DataName1 have identical values. The object is to get each DataValue into its comparable Property. If each Property could be addressed by using the (identical) DataName, values could be quickly assigned.

Can this be done? Or is there a better approach?

Thanks,
Will

6 posts - 5 participants

Read full topic


Viewing all articles
Browse latest Browse all 3768

Trending Articles