Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Supressing Vertical Scrollbars on listbox

Status
Not open for further replies.

Bloobird

Programmer
Oct 23, 2001
49
GB
Hi - I have two listboxes next to each other and a combobox on a form. The combo box adds items to the list boxes, the value in the combobox being spilt between the 2 list boxes (i.e. The value 'John Smith - 34567' would be in the combo box, and would be spilt so that 'John Smith' goes into 1st list box, and '34567' into 2nd list box). When the number of items added exceed those shown on screen, a vertical scroll bar appears on both listboxes. I want to know if it is possible to suppress this scrollbar, or trap the event of moving the scrollbar, so that I can keep the two listboxes in sync. I know it would be easier to user a datacombo, but Listboxes need to be used!
Thanks
 
What is your reason for 2 listboxes side-by-side?
 
Because it part of college coursework, and the person who set the coursework wants it done that way !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top