Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Set limit of input characters (Read 3921 times)
YHiKUM
YaBB Newbies
*
Offline



Posts: 6
Joined: Feb 16th, 2009
Set limit of input characters
Oct 2nd, 2009 at 10:50pm
Print Post  
Is there any way to set limit of characters per box?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Set limit of input characters
Reply #1 - Oct 3rd, 2009 at 8:26am
Print Post  
There isn't a built-in property that lets you set a limit to the inplace-edit text box. If you can use the Win32 API in your programming environment, you might call FindWindowEx(fcx.hWnd, NULL, "EDIT", "FCX_INPLACEEDIT") to get a window handle to the edit box, and then send the EM_SETLIMITTEXT message to it to set the limit.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
YHiKUM
YaBB Newbies
*
Offline



Posts: 6
Joined: Feb 16th, 2009
Re: Set limit of input characters
Reply #2 - Oct 5th, 2009 at 9:59pm
Print Post  
Thank you! The above worked for me!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint