mapping property that contains an array
I am having a heck of a time mapping the itemdata and list members of a standard combobox to my new and improved combobox. The control interface wizard has told me that I need to insert the code in the writeproperties to persist the array but I can not seem to figure out how to do this (I can do it fine with a property which doesn't contain an array, but I can't seem to figure out how to pass this array along in code). The wizard's sample code doesn't work either. Any help would be much appreciated. Thanks all.
-Leon Whitcomb
mapping arrays to active x properties
i to have this problem however the size of the array is dynamic in my active x.
i have read that the collection object is good for this datatype, as the provided example is for a fixed length array, therefore allowing the user to declare a user data type.
an example using the collection object in an active x situation would be appreciated
how i solved this problem
First of all thanks for your help to all who replied. I thought I would let any who were having the same problem know what I did to solve my problem. I never did figure out how to make the list or itemdata properties of the combobox persist by use of the writeproperty and readproperty procedures (because they contain arrays & I couldn't seem to map an array correctly). But fortunately the property let & the property get procedures, which were coded perfectly by the wizard did work fine. So while the user can not hard code a list into the combo box at design time as they could with a regular combobox, you can still operate on the list & itemdata properties through code because of the property let & get procedures. This works fine within my application.
-Leon Whitcomb