Re: Single line RichEdit controls

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Is it possible to make single line RichEdit controls?

Sure, try this...

myRE = create(RichEdit, "", thewin, x, y, w, h,
                       {WS_CHILD,
                        WS_VISIBLE,
                        WS_HSCROLL,
                        WS_TABSTOP,
                        ES_SAVESEL,
                        WS_BORDER
                       }
              )

> I added the line removeStyle(RE,ES_MULTILINE) to the richedit.exw
> example program but it's richedit control remained multi-line.

It seems that once the richedit control is created, you can't do much to
change its behaviour. So its best to create one how you want in the first
place.

------
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu