Hello,
Can anybody give me the code for this.........
I want the compiler to read the text entered by the user in the textfield and i want the compiler to show a message in a dialogue box if the text is not in capital letters.
Printable View
Hello,
Can anybody give me the code for this.........
I want the compiler to read the text entered by the user in the textfield and i want the compiler to show a message in a dialogue box if the text is not in capital letters.
And which part of this is giving you trouble? What have you tried? Where are you stuck?
See my logic is this....
First i created a textfield and then i tried to pass the text string into an array using toChar().Then i wrote an if-else statement(that is,it should print a dialog box when some element of that array is containing an ASCII value corresponding to a small letter).It would be very helpful if someone can give me the code.
We aren't going to do your work for you. Post an SSCCE and a specific question about what's confusing you, and we'll try to help you.
ok fine .i will send u the code tommorrow and then u can check and tell me whats wrong with it. Is that fine?
Sure. Just make sure it's in SSCCE form, and we'll be more than happy to answer any specific questions you have about it. Don't forget the highlight tags.
what is the highlights tag?