Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with checking words
#3

I want to limit the number of characters that can be typed by the user into an edit box.

This is what I have.


Code:
Copy      Help
sel wParam
,case EN_CHANGE<<16|4
,pw.getwintext(id(4 hDlg))
,if len(pw)>16

I can tell if there are more than 16 characters but not sure how to stop the input at 16.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)