|
-
Jun 27th, 2002, 01:01 PM
#1
Thread Starter
Addicted Member
How to make VB understand???
Hi, me again. Ok, does anyone know how to make VB understand the difference between the values say: 1200.001, 1200.002, 1200.003
I have a textbox which displays the x + y co-ords of a picture. Another text box then displays an assigned number to each x + y co-ords. for example:
If text1.text = 1200 then text2.text = 1
If text1.text = 1200.001 then text2.text = 2
if text1.text = 1200.002 then text2.text = 3
where 1200, 1200.001, 1200.002 are the added co-ords of the pics.
BUT VB doesn't understand, it still displays 1 in text2 for each one.
Thanks a lot!
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
|