Computer Science Canada Programming Student in trouble... Please help! |
Author: | nightcrawler [ Thu Apr 05, 2007 7:47 am ] |
Post subject: | Programming Student in trouble... Please help! |
I am trying to get a text box to only accept a certain number of numbers... ![]() ![]() |
Author: | rdrake [ Thu Apr 05, 2007 10:29 am ] |
Post subject: | RE:Programming Student in trouble... Please help! |
Do text boxes not have a Length property? Find a property like that and check it against a certain value, like 9 in your example. |
Author: | cool dude [ Thu Apr 05, 2007 1:05 pm ] |
Post subject: | Re: Programming Student in trouble... Please help! |
yes rdrake there is built in length function called len() i made an example program to do exactly what you asked. please don't mind the variable usage. |
Author: | cool dude [ Thu Apr 05, 2007 1:12 pm ] |
Post subject: | Re: Programming Student in trouble... Please help! |
sorry wrong attachment |
Author: | Aziz [ Tue Apr 10, 2007 5:18 pm ] |
Post subject: | RE:Programming Student in trouble... Please help! |
There is a property called MaxLength I believe |