how are filling up the richedit ?
Main Topics
Browse All TopicsI have a richedit component with a number of lines in it, how can multiply these lines by enter a number in a editbox.
The lines should be seperated by white space.
For example.
1 Amsterdam.
2 New York.
3 London.
Number entered in editbox = 2. (lines in richedit becomes:)
1 Amsterdam.
2 New York.
3 London.
1 Amsterdam.
2 New York.
3 London.
Btw, is it possible to put numbers before the lines (just like above).
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The richedit box is on a other form, the main form holds a listbox, and from there is is copieed.
(I use this method because of quickreport, as far as I know I can't directly printpreview from the listbox to quickreport, for richedit, edit, memo there are parts for, but not for the listbox to show).
I need to use a code when I click on a button to show the items from listbox to richedit, when I want to have numbers in front of every line (like above).
Sorry I back again, I just had an error:
First chance exception at $7C7E2AFB. Exception class EAccessViolation with message 'Access violation at address 00000000. Read of address 00000000'.
This occured when I had close the form where the richedit is on, and click the add button (on the main form) again. Any idea what causes this error?
Business Accounts
Answer for Membership
by: ThievingSixPosted on 2009-09-01 at 23:09:57ID: 25238305
Select allOpen in new window