listbox & scroll bar

  • Thread starter Thread starter carmen
  • Start date Start date
C

carmen

I need to have in a form a listbox with a big scrollbar (I'm working for a
touchscreen). As the scrollbar that the listbox has is small, I put a
listbox withou scroll and a scrollbar independent. How could I associate the
two controls to work as if they where only one?
Thank you for your help
Carmen
 
The listbox postion can be moved around by settting its TopIndex property.
On this note, instead of using an external scrollbar control I suggest a
combination of 4 buttons or, even better, 4 custom controls. To see how you
can manipulate the TopIndex property, take a look at
http://www.alexfeinman.com/download.asp?doc=ScrollLB.zip

The reason I suggest 4 buttons vs a scroll bar is that even an extra wide
scroll bar will still have controls that are hard to push with a finger
 
It seems to be the best solution. Thank you!

Alex Feinman said:
The listbox postion can be moved around by settting its TopIndex property.
On this note, instead of using an external scrollbar control I suggest a
combination of 4 buttons or, even better, 4 custom controls. To see how you
can manipulate the TopIndex property, take a look at
http://www.alexfeinman.com/download.asp?doc=ScrollLB.zip

The reason I suggest 4 buttons vs a scroll bar is that even an extra wide
scroll bar will still have controls that are hard to push with a finger
 
I tried and works fine with a standard listbox but doesn't work with a
OpenNETCF listBoxEx. Changing the value of TopIndex the listbox doesn't
change. Could you help me, please?
Carmen
 
Back
Top