Dear friends,

I design a list box control with five items.

As the list box is too short to display all the items during the run time, vb5 automatically places a vertical scroll bar on the right side of the list box.

Then user can scroll to see the remaining items of the list and select it by clicking on it with the mouse.

As I know we can also highlight an item and select it, from a list by moving to it with the up- and down- arrow keys, the highlight will move according to the arrow keys.

so, using visual basic 5, can I design the same things by just scroll the top and bottom arrow button of the vertical scroll bar on the right side of the list box control and causing the highlight and selected item move accordingly, instead of using up- and down arrow keys.

This type of control is also appear on Microsoft Internet Explorer5.

When you select the 'Tools' in the menu bar and click on Internet Options, a form will be pop up with 'multi-page control', that is General, Security, Content, Connections, Programs and Advanced. Please click the 'General' page and you will find a list box control on the history 'frame control'.

Please click on the top and bottom arrow button of the vertical scroll bar on the right side of the list box control. You will found the highlight and selected item move accordingly. This is the design I wish to produced.

I hope that these description will help you to answer my question.

I really appreciate it with your help. Have a nice day. Thanks a lot.

Warmest regards,
Lai