Hi there,

I have a ListBox with > 100 items, at the same time I have a Frame which has multible CheckBoxes. The Q is:

How can I make the frame move up/down with whichever is selected from the listbox ??

I have this code:

Code:
Private Sub Form_Load()
  Frame1.Left = List1.Left + List1.Width 
  Frame1.Top = List1.Top - 180 
End sub

Private Sub List1_Click()
  Frame1.Top = List1.ListIndex * 300
End Sub
The 2 problems i'm having are:

- The Listindex When it's (0) ??
- When selecting item > 20 , the Frame would be Hidden !?


Thanx for any help.