I can't seem to figure out how to make a drop down list with strings from a reader. I have created a drop down list with integers, and I have read that it was possible, but I can't figure out what I need to implement. If any one has any good examples (XML and C++) that would be great.<br>
<br>If I have this:<br>[code]<br> <StringVectorProperty name="CellArrayInfo"<br> information_only="1"><br> <ArraySelectionInformationHelper attribute_name="Cell"/><br>
</StringVectorProperty><br> <StringVectorProperty name="CellArrayStatus"<br> command="SetCellArrayStatus"<br> number_of_elements="0" <br>
repeat_command="1" number_of_elements_per_command="2"<br> element_types="2 0"<br> information_property="CellArrayInfo"<br> label="Cell Arrays"><br>
<ArraySelectionDomain name="array_list"><br> <RequiredProperties><br> <Property name="CellArrayInfo" <br> function="ArrayList"/><br>
</RequiredProperties><br> </ArraySelectionDomain><br> </StringVectorProperty><br>[/code]<br><br>I read that I could change:<br>[code]<br> number_of_elements="0" <br>
repeat_command="1" number_of_elements_per_command="2"<br>[/code] <br><br>to<br>[code]<br> number_of_elements="1" <br>[/code]<br><br>but that does not work.<br>
<br>I also tried using the EnumerationDomain with IntVectorProperty. This will only give me a dropdown with integers.<br><br>Note: I'm not looking for this:<br>[code]<br><EnumerationDomain name="enum"><br>
<Entry text="Stuff" value="0" /><br> ....<br>[/code]<br><br>If I am not able to do a dropdown with a string, is there a way to only allow one item to be selected in my first sample of xml?<br>
<br>Thanks,<br>Brian<br>