yeah you can just refer to the Columns() argument; I believe that it
takes 2 arguments, RowNumber and ColumnNumber
-Tom
Jesse wrote:
> Punjab is right, the MultiPik class is for the listbox control.
> However, after trying with several changes of the code, figured out
> that the class is built to handle only two columns. At the top of the
> class says that you only need to add more members to the DataRow type
> making me believe that by changing the ColumnCount property of the
> listbox control, the listbox will show the additional columns of data.
> The listbox uses a callback function to get its data and the callback
> function is handled by the class. The way its written, the callback
> function does not provide the functionality to retrieve additional
> columns. Anyway, I'll try to tinker with the callback function code to
> make it recognize more than one column. If I get it right, I'll post
> it here. Thanks.
>
> punjab_tom wrote:
> > I think that he's just talking about the standard listbox
> >
> > columns might be set to 1.. you might need to increase that
> >
> > and columnwidths also of course.. it might be 1 right now; you might
> > need to change it to 1;1;1;1;1 in order to display 5 columns
> >
> >
> >
> >
> > Jesse wrote:
> > > In chapter 7 of the referenced book, the MultiPik class provides the
> > > functionality that I need. I need to be able to view several more
> > > columns in the listbox and at the top of the class states that I need
> > > to add more members to the DataRow type. I addedd more members but the
> > > other columns are not showing. How can I get the class to show
> > > additional columns? TIA
|