|
-
Dec 28th, 2001, 01:16 AM
#1
Thread Starter
Lively Member
listbox arrays
I'm trying to set up an output array in a project. that's not the prob, im trying to figure out how to make all 9 listboxes scroll down at the same time and keep the focus across all 9 also, it possible?? or should i take a different approach to this?
All help is greatly appreciated.
Matt
-
Dec 28th, 2001, 01:19 AM
#2
PowerPoster
Hi
More information please!! 
Are u looking for the TopIndex property? And what do u mean by all listboxes keeping focus?
regards
Stuart
-
Dec 28th, 2001, 01:23 AM
#3
Only one control can have the focus at the time. But you can scroll all controls using the following code:
VB Code:
Private Sub List1_Scroll(Index As Integer)
Static blnBusy As Boolean
If blnBusy Then
Exit Sub
End If
blnBusy = True
For n = 0 To 8
List1(n).TopIndex = List1(Index).TopIndex
Next
blnBusy = False
End Sub
Best regards
-
Dec 28th, 2001, 01:26 AM
#4
Thread Starter
Lively Member
thanks for the help all. I'm trying to get nine list boxes that are side by side to all scroll down at the same time, i will try the examples and get back to you
thanks again
-
Dec 28th, 2001, 01:45 AM
#5
Thread Starter
Lively Member
Thanks a million for the snippet of code......Works great...
Matt
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|