I have changed the XML to look as such:<br>[code]<br>            &lt;StringVectorProperty <br>                name=&quot;w3_DataList&quot;<br>                information_only=&quot;1&quot;&gt;<br>                &lt;ArraySelectionInformationHelper attribute_name=&quot;Data&quot; /&gt;<br>
            &lt;/StringVectorProperty&gt;<br>            &lt;StringVectorProperty <br>                name=&quot;w3_lbData&quot;<br>                command=&quot;SetDataArrayStatus&quot;<br>                number_of_elements=&quot;0&quot;<br>
                repeate_command=&quot;1&quot;<br>                number_of_elements_per_command=&quot;2&quot;<br>                element_types=&quot;2 0&quot;&gt;<br>                &lt;ArraySelectionDomain name=&quot;array_list&quot;&gt;<br>
                    &lt;RequiredProperties&gt;<br>                        &lt;Property name=&quot;w3_DataList&quot; <br>                            function=&quot;ArrayList&quot;/&gt;<br>                    &lt;/RequiredProperties&gt;<br>
                &lt;/ArraySelectionDomain&gt;<br>            &lt;/StringVectorProperty&gt;<br>[/code]<br><br>This seems to be more of what I need. I also implemented the following functions:<br>[code]<br>    int GetNumberOfDataArrays();<br>
    const char* GetDataArrayName(int index);<br>    int GetDataArrayStatus(const char* name);<br>    void SetDataArrayStatus(const char* name, int status);<br>[/code]<br><br>When my reader loads the file, I still get the error:<br>
     &quot;had to make up a value for selection&quot;<br><br>Also, when I call accept(), I get this message which I am confused why argument 3 is a string.<br>[error]<br>could not find requested method: &quot;SetDataArrayStatus&quot;<br>
or the method was called with incorrect arguments.<br><br>while processing<br>Message 0 = Invoke<br>  Argument 0 = id_value {143}<br>  Argument 1 = string_value {SetDataArrayStatus}<br>  Argument 2 = string_value {Something}<br>
  Argument 3 = string_value {1}<br>[/error]<br><br>Could this be due to using a QListWidget? If so, what should I be using?<br><br>Thanks,<br>Brian Panneton<br><br><br><div class="gmail_quote">On Thu, Mar 24, 2011 at 4:02 PM, Brian Panneton <span dir="ltr">&lt;<a href="mailto:brian.panneton@gmail.com">brian.panneton@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I have a QListWidget that is being filled by the following XML:<br><br>           &lt;StringVectorProperty <br>
                name=&quot;w3_DataList&quot;<br>                command=&quot;GetReaderDataList&quot;<br>                information_only=&quot;1&quot;&gt;<br>
                &lt;StringArrayHelper /&gt;<br>            &lt;/StringVectorProperty&gt;<br>            &lt;StringVectorProperty <br>                name=&quot;w3_lbData&quot;<br>                immediate_update=&quot;1&quot;<br>

                number_of_elements=&quot;0&quot;<br>                repeat_command=&quot;1&quot;<br>                number_of_elements_per_command=&quot;2&quot;<br>                element_types=&quot;2 0&quot;<br>                command=&quot;SetReaderData&quot;&gt;<br>

                &lt;ArraySelectionDomain name=&quot;operation&quot;&gt;<br>                    &lt;RequiredProperties&gt;<br>                        &lt;Property name=&quot;w3_DataList&quot; <br>                            function=&quot;ArrayList&quot;/&gt;<br>

                    &lt;/RequiredProperties&gt;<br>                &lt;/ArraySelectionDomain&gt;<br>            &lt;/StringVectorProperty&gt;<br><br>Everything seems to show up as expected, but I end up getting the following error:<br>

<br>&quot;had to make up a value for selection&quot;<br><br>How can I provide a default for the selection?<br><br>Thanks,<br><font color="#888888">Brian Panneton<br>
</font></blockquote></div><br>