Scrollbar in a dynamic custom listbox

  • Thread starter Thread starter Soren-a
  • Start date Start date
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
 
Since you've modified the original code there's no way to find out the
problem without seeing your code.
 
Back
Top