Hello,
Quick question is there any property I can alter to limit the amount of text that can be entered in by the user?
This is for Dates to avoid the "overflow" runtime error.
Chris
Printable View
Hello,
Quick question is there any property I can alter to limit the amount of text that can be entered in by the user?
This is for Dates to avoid the "overflow" runtime error.
Chris
You can either use a date mask in a MaskedEdit control or set the MaxLength property of a textbox to whatever you want.
Is there no limit to setting your own MaxLength? I.e can you have more text than a RTF or is there a memory limit like 32Kb or something?Quote:
Originally posted by MartinLiss
You can either use a date mask in a MaskedEdit control or set the MaxLength property of a textbox to whatever you want.
I think the limit of a textbox is 32K but the Trancedified is asking about a date.
thx for the posts :) it worked, setting the maxlenth to 10
limit is 64 k for a textbox... but does it tell you that when loading files bigger than 64 K ?? ohhh....no.... just chops it off at the end and pretends nothing happened :rolleyes:
I remember loading big text files (definitely more than 64k)
when I used to be in college and a newbie to vb(vb5).
It used to load without giving any error.
yes, it loads with no errors, but it chops off whatever is after the first 64 k :eek:
sick really... should have given some kind of error...
You may be better off using a date picker control. It does it all for you with a nice diary screen if you wanted it.