I use a random to select one item in a listbox. Then I
access a database with this item. But this (database access)
only works, when I press a button (like space) or click on
the item again. Is there a function so that I don't need to click on it again ?

Is there a function which works like clicking on an
item in a listbox ???



Code:
''''''My random, 'L1 = Listbox
    A = L1.ListCount
    Randomize
    MyRand = Int(A * Rnd)
    L1.ListIndex = MyRand
    L1.SetFocus
[i] !! VB 3.0 !! Matt-D(eutschland)

[Edited by Matt-D on 11-03-2000 at 12:16 PM]