|
-
Nov 3rd, 2000, 12:00 PM
#1
Thread Starter
Hyperactive Member
-
Nov 3rd, 2000, 12:07 PM
#2
Frenzied Member
hmmm.. don't really get your problem, but if nothing else helps try SendKeys "{space}"
but this is a real crappy way so try to explain your prob better so we'll can help you better
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 3rd, 2000, 12:11 PM
#3
Junior Member
You can call the method you use to acces the database, for example:
''''''My random, 'L1 = Listbox
A = L1.ListCount
Randomize
MyRand = Int(A * Rnd)
L1.ListIndex = MyRand
L1.SetFocus
call L1_LostFocus 'or the event when you acces to database
-
Nov 3rd, 2000, 12:12 PM
#4
Frenzied Member
I think that's the problem:
List1.Selected(MyRand) = True
Instead of
L1.ListIndex = MyRand
-
Nov 3rd, 2000, 12:25 PM
#5
Frenzied Member
Is there a function which works like clicking on an
item in a listbox ???
You could always do
Call List1_Click()
but if you really want to click you need the api...
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 3rd, 2000, 12:48 PM
#6
Thread Starter
Hyperactive Member
[b] Problem Solved
I forgot come code - doh
: INP2.Text = L1
But thanks
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
|