![]() |
|
#1
|
|||
|
|||
Set maximum length for EditControl (text box)Hi all,
I now using Visual C++ (Visual Studio 2005) for my project. i face some problem in set the maximum length for my edit control(text box). i have 3 edit control in the same dialog. i want set the maximum length for each edit control = 5. following are the 3 ID of edit control in same dialog: IDC_EDIT_MCNO IDC_EDIT_MCSERIALNO IDC_EDIT_LOCATION The dialog ID is: IDD_MACHINE Please guide me for set max length. Thanks very for your help. i will very appreciate. Regards: Alice |
|||
|
#2
|
||||
|
||||
Re: Set maximum length for EditControl (text box)There is a 'maxlength' property in the Behavior category. That should be all you need to change. (looks like the default is 32767)
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Set maximum length for EditControl (text box)Hi TurboPT,
Thanks for your reply.^^ I could not found any 'maxlength' property in the Behavior category.. I think need to write the code for it.. Can u show me some guide by writing code? I very appreciate your helped. Thanks again^^ regards: alice |
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Power Calibration Error In Nero Fix (hopefully) | matt3678 | Computer Hardware Forum | 60 | 20-Aug-2009 05:04 |
| Str_Misaligned in Double Link List | Peter_APIIT | C Programming Language | 1 | 29-Feb-2008 20:50 |
| Having a problem | Chuckles | Computer Hardware Forum | 19 | 13-Sep-2004 12:17 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The