I have a class that needs to be sent an array from the calling program. What I 
want to do is ideally pass the array in as a property and use the property 
_"Assign" method to process the array internally. I have tried passing the

Thisform.AddProperty("aArray[2,2]", null)

Thisform.aArray[1,1]= "Item 1"
Thisform.aArray[1,1]= "Item 1,2"
...


Class.Property=Thisform.aArray


The above coding only results in the first element being passed .... as in what 
is done to a UDF and I have tried passing it with an @ sign (as you would with 
a UDF) at the front but this gives a syntax error so no go there. I have also 
tried calling the Property_Assign method direct but using the array with a 
leading @ sign but the mainline doesn't have visibility of the _Assign method 
so no go there.

Short of setting up a new Receive_Array() method on the object and passing in 
the array with an @ sign I can't seem to come up with an alternative solution 
and I haven't tested out that you can even do this as of yet.

Any ideas guys?

Dave



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to