Announcement

Collapse
No announcement yet.

Textbox question

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

  • Kev Peel
    replied
    Heinz,

    Omit "%ES_AUTOHSCROLL" if you want the text to wrap and not to scroll horizontally, that's the easiest way.

    Regards,

    ------------------
    Kev G Peel
    KGP Software, Bridgwater, UK.
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Guest's Avatar
    Guest started a topic Textbox question

    Textbox question

    Hi everybody,

    I would like to know how to limit the number of characters for a line in a textbox and
    a listbox.

    With my code I can't limit it ...

    tbstyle&=%ES_LEFT OR %ES_MULTILINE OR %ES_WANTRETURN OR %ES_AUTOHSCROLL OR %ES_AUTOVSCROLL
    CONTROL ADD TEXTBOX,hdlg&,%idtext1,"",10,55,480,215,tbstyle&,%WS_EX_CLIENTEDGE

    Wen I populate the textbox with the Power Basic Readme-File the textbox produces very very
    long lines.

    Maybe you can give me an better working example.

    Best regards
    Heinz Fischer

    ------------------
Working...
X