Is that worth making a whole tutorial o_O?
Hello. Now i gonna teach you ( if you dont know ) how to use the back/fore color!
Open Visual Basic 2008 > New Project > Windows Application > Call it something
Add 5 radiobuttons
1 button
1 panel
What it will look like:
Codes:
Radiobutton 1 (Red)
Radiobutton 2 (Green)Code:Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged Me.ForeColor = Color.Red Panel1.BackColor = Color.Red End Sub
Radiobutton 3 (Blue)Code:Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged Me.ForeColor = Color.Green Panel1.BackColor = Color.Green End Sub
Radiobutton 4 (Yellow)Code:Private Sub RadioButton3_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton3.CheckedChanged Me.ForeColor = Color.Blue Panel1.BackColor = Color.Blue End Sub
Radiobutton 5 (Black)Code:Private Sub RadioButton4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton4.CheckedChanged Me.ForeColor = Color.Yellow Panel1.BackColor = Color.Yellow End Sub
Close ButtonCode:Private Sub RadioButton5_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton5.CheckedChanged Me.ForeColor = Color.Black Panel1.BackColor = Color.Black End Sub
Code:Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Hide() End Sub
Heal Ur Allies, And You Will Win The War.
RESPECT LIST :
- Very Good Friend - Sn0wn00b
- All the Mpgh minions ( special m3 )
- th3reaper
- respeckt52
- s3liskar
- thecamels8
Is that worth making a whole tutorial o_O?
Heal Ur Allies, And You Will Win The War.
RESPECT LIST :
- Very Good Friend - Sn0wn00b
- All the Mpgh minions ( special m3 )
- th3reaper
- respeckt52
- s3liskar
- thecamels8
Always good to have some new tutorials.
Thanks for sharing.
-Rest in peace leechers-
Your PM box is 100% full.
Thanks for sharing. Good job.
Not really a tutorial on how to use forecolor and backcolor.
Assembly Programmer
Thanks for sharing, Looks good, But again, I ask that any of these small based codes just get added to the code snippets vault, if already not there.
Thanks again, but let's minimize these small snippets and just add them to the snippets vault if we can,
Thanks again.
Don't mean to invade on yo' section NextGen1 but, I lurk pretty much every section on this site and all I've seen here are such low level tutorials and everyone just posts: Good job, thanks for sharing, stuff like that, even though they don't need\use it.
I lurk and post in every section, so invade often
And I agree, i would personally like to keep these small snippets in the vault, and only if it is not already in the vault. I hve asked this numerous times. It's kinda like making a tutorial on using basic message box
(example)
ok guys , here is a tut on making a message box
open vb
Add a button, double click the button.
Add the code msgbox("example")
and that's it guys, thank me for this awesome tut.
(end example)
and I just don't see a need for these type of tutorials
so again I ask any small tutorials or snippets (which all this is is a basic snippet) be added to the vault, it is a sticky, so it's ok, any doubles will he removed.
Sorry if grammar or punctuation is off, writing this on my iPhone........
Void (04-29-2010)
There are some tut's that TAKE COMMON SENSE and some advanced ones but not alot anyways to the point nextgen owns he made a beast thread check the very top stickyed post of the vb section and if u want high level tut's all the time make them(IM NOT FLAMING U DONT TAKE IT THAT WAY, but there are good tut's u just have to find them, this one is good for the noobs though*Not a flame dont get mad*)