Scrollbar in a dynamic custom listbox

S

Soren-a

Hi all

I am working on a project in C#.NET CF where I am using the custom
listbox found here: http://www.opennetcf.org/PermaLink.aspx?guid=d88b1a1a-a866-4247-a0c8-94ab3c124f63.

I have further modified the listbox, so that when you select an item
in the listbox and press a button, the listbox will expand with
between 2 and 5 extra lines under the selected item. Likewise, if you
click another button, the list will remove the extra lines created and
return to its normal state.

My problem is that before I click the "Expand" button the scrollbar
works as it should, but as soon as I press it, the scrollbar stops
funktioning. When I click on the scrollbar, I just select the line
behind the scrollbar.

Any Ideas for a solution??

If you need to see a code sample, let me know.

Regards
Søren Augustesen
 
G

Guest

Since you've modified the original code there's no way to find out the
problem without seeing your code.
 

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

Top