|
-
Jul 23rd, 2004, 09:16 AM
#1
Thread Starter
New Member
*** is wrong with this!?!?!!?!
This is part of an if statement i made for the tic-tac-toe game i tlked about in "i, n00b"
VB Code:
If CheckBox1.ForeColor = System.Drawing.Color.Blue Then
it says that the "=" operator is not legal or sum such bull
HELP!!!
plus i need to no how to make it so it says sutmhin like:
"If CheckBox1.ForeColor [not equal to] System.Drawing.Color.Blue Then"
how do i use a not equal to thing with this?
ps. check out my site at www.ugrev.com and join FORUM MSX
Last edited by XSkater; Jul 23rd, 2004 at 09:50 AM.
everyone visit my website at
WWW.UGREV.COM
...or else
=)
-
Jul 23rd, 2004, 09:32 AM
#2
Lively Member
this works, dont know if its the correct way though...
Code:
if checkbox1.forecolor.toargb = system.drawing.color.blue.toargb then
...
end if
-
Jul 23rd, 2004, 09:33 AM
#3
VB Code:
if checkbox1.ForeColor.Equals(System.Drawing.Color.Blue) then
-
Jul 23rd, 2004, 09:51 AM
#4
Thread Starter
New Member
i have to say that i love the response time of the people on this forum, its very very helpful!
everyone visit my website at
WWW.UGREV.COM
...or else
=)
-
Jul 23rd, 2004, 09:55 AM
#5
Originally posted by XSkater
i have to say that i love the response time of the people on this forum, its very very helpful!
just return the favor by answering others questions that you know the answers to. Helps the community thrive
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
|