View previous topic :: View next topic |
Author |
Message |
Trucido Moderator Reputation: 6
Joined: 08 Sep 2007 Posts: 2792
|
Posted: Sat Jul 05, 2008 10:06 am Post subject: My First Usefull Program! |
|
|
The Capitalizer!
Input text and select to either make all characters capital, or only the first in every word.
Note: Ticking both boxes causes it to make first letter of every word capital.
Credits: Jonyleeson for doing most of the hard work and helping me with everything also, Holland for pointing out the ovbious and helping me.
=D
Bugs:Dont actually have to select the all caps option for it to make them all caps. (who cares, If I didnt tell you, you probly wouldnt have noticed.)
_________________
I'm out. |
|
Back to top |
|
|
BirdsEye Advanced Cheater Reputation: 0
Joined: 05 Apr 2008 Posts: 94
|
Posted: Sat Jul 05, 2008 1:50 pm Post subject: |
|
|
WOW... Thanks? Now I can finally make things capitalized after typing! (AND NOT HAVE TO DELETE AND THEN RE-TYPE!) But really, this is quite useful.
|
|
Back to top |
|
|
nwongfeiying Grandmaster Cheater Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Sun Jul 06, 2008 8:08 pm Post subject: |
|
|
To fix the "bug", just do a check to see if the checkbox is checked or not, then proceed to capitalize.
It would look like this in Visual C++:
Code: |
if ( checkBoxCaps->checked == "true" ) {
//
// Call function
//
}
|
|
|
Back to top |
|
|
Trucido Moderator Reputation: 6
Joined: 08 Sep 2007 Posts: 2792
|
Posted: Mon Jul 07, 2008 12:13 am Post subject: |
|
|
nwongfeiying wrote: | To fix the "bug", just do a check to see if the checkbox is checked or not, then proceed to capitalize.
It would look like this in Visual C++:
Code: |
if ( checkBoxCaps->checked == "true" ) {
//
// Call function
//
}
|
|
I made it in Visual C#
Any Idea how to do it in that?
_________________
I'm out. |
|
Back to top |
|
|
nwongfeiying Grandmaster Cheater Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Mon Jul 07, 2008 9:38 am Post subject: |
|
|
I think it's about the same thing, but the "->" is a "."
|
|
Back to top |
|
|
samuri25404 Grandmaster Cheater Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Mon Jul 07, 2008 5:21 pm Post subject: |
|
|
Code: |
if (chkCaps.Checked)
{
//do code
}
|
or
Code: |
if (chkCaps.Checked == true)
{
//do stuff
}
|
_________________
|
|
Back to top |
|
|
|