Re: Single line RichEdit controls
- Posted by Derek Parnell <ddparnell at bigpond.com> May 27, 2001
- 393 views
> 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."