Access 2002 Desktop Developer MultiPik (Ch 7) question

  • Thread starter Thread starter Jesse
  • Start date Start date
J

Jesse

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
 
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
 
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.
 
yeah you can just refer to the Columns() argument; I believe that it
takes 2 arguments, RowNumber and ColumnNumber

-Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top