How to Limit the amount of text entered in a TEdit?
Answer / Saurabh Shukla
To limit the amount of text entered in a TEdit, you can handle the OnChange event of the TEdit and check if the length of the text exceeds a certain limit. If it does, cancel the change or clear the excess characters.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is Turbo Pascal still available?
How to Use additional data sets in expressions ?
How to Prevent changing pages in a page control?
How to Stop TScrollbar button from blinking ?
How to custom draw menu items?
what are Multiple Transports?
How to Change the background color of Text?
What to have ready before you call Borland Developer Support?
How to Connect to a remote CORBA server?
How to Provide lookup capability?
How to Keep an application in a minimized state?
What is the process of exception handling in delphi?