Announcement

Collapse
No announcement yet.

Textbox Limit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Textbox Limit

    Using the Control Send its possible to specify the limit (numumber of
    characters) on a Textbox.

    ie: CONTROL SEND hDlg, 202, %EM_SETLIMITTEXT, 3, 0

    On multi-line listboxes is it possible to specify the number of characters
    PER LINE? (So you could specify to allow 4 lines of 35 characters each,
    say for a name & address field?)


    Many Thanks,

    Ray


    ------------------

  • #2
    Kinda nice tought, bvut extremely diff. i guess.

    The typing can be suppressed, just what you want.
    Just retrieve the current line and count it's chars.
    However, now the misery starts, what to do on back space and del etc..


    ------------------
    [email protected]
    hellobasic

    Comment


    • #3
      Listboxes supports %LBS_MULTIPLESEL.
      So it's possible to divide one logical line to some separate items and then to control selection.
      Not very easy, but also not extremely difficult (I did the same in VB programs).



      ------------------

      Comment

      Working...
      X