|
-
Oct 29th, 2000, 04:41 PM
#1
Thread Starter
Hyperactive Member
-
Oct 29th, 2000, 04:48 PM
#2
transcendental analytic
Do you really need to have the listbox, is it always invisible? Yes it's possible to compare each item, just loop from 0 to listcount-1. Use if Selected(index) to check if it's selected or not.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 29th, 2000, 04:52 PM
#3
Guru
You can use the List property. 
Code:
Dim X As Integer
For X = 0 To L4.ListCount - 1
If INP2.Text = L4.List(X) Then
Call MsgBox("Number exists!", vbInformation)
Exit For
End If
Next
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
|