- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to write a matrix into a single Edit box. How do I get a carriage return so that I can print more than one line?
I also tried the Rich Edit Box, but I can't get it to work, and can't find any instructions.
I also tried the Rich Edit Box, but I can't get it to work, and can't find any instructions.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Double-click on the edit box at design time, select ?styles? in the ?Edit properties? pup-up menu and mark ?Multiline?.
Sabalan.
Sabalan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First you have to give the edit box multi-line (ES_MULTILINE) style. If I recall correctly, when writing into the edit box lines should be terminated with CHAR(13)//CHAR(10). (Or maybe 13-13-10). You may also consider ES_WANTRETURN style if you want the contents to be editable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just 13-10 (CR-LF) as line separators.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page