Search found 12 matches

by JLuckey
Thu Mar 04, 2010 4:36 pm
Forum: Support
Topic: Best way to store data about data in a table cell
Replies: 1
Views: 8334

Best way to store data about data in a table cell

I need to store data about the source of the data displayed in a cell in a table in a TRichView. The source data is actually the key to the record which retrieved the data displayed in the cell and is a string that looks like this: "keyvalue1|keyvalue2|keyvalue3" I need to be able to retrieve that ...
by JLuckey
Fri Aug 29, 2008 7:54 pm
Forum: Support
Topic: Images too big when writing JPGs to printer canvas
Replies: 1
Views: 9217

Images too big when writing JPGs to printer canvas

I'm printing the contents of a TRichViewEdit using a technique from one of your samples/demos which puts 2 columns on each page. (see code sample) The data contains lots of text and several embedded JPG images of varying sizes. In the TRichViewEdit, I set the sizes of these JPGs to thumbnail-size as ...
by JLuckey
Fri Aug 22, 2008 4:59 pm
Forum: Support
Topic: Formatting & Justifying Text in Table Cell
Replies: 2
Views: 11341

Sergey,

Thanks for the insight. It works perfectly!
by JLuckey
Thu Aug 21, 2008 6:36 pm
Forum: Support
Topic: Formatting & Justifying Text in Table Cell
Replies: 2
Views: 11341

Formatting & Justifying Text in Table Cell

Sergey, I need to write text to a table cell in a TRichView. Each word in the text may have special formatting like bold and or italic. Then I need to write the whole text to a table cell with either left, center, or right justification. The code snippet below formats each word of the text OK, but I ...
by JLuckey
Tue May 20, 2008 9:35 am
Forum: Support
Topic: Printing Problem with tables!
Replies: 47
Views: 179833

Table Printing issue Resolved?

After reading this thread it is still unclear if table cell printing will span page breaks. Specifically, I have tables w/ cells which contain a lot of text (sometimes half a page or more). When printing, it gets near the end of a page and is ready to print a cell w/ long text, it leaves a lot of ...
by JLuckey
Thu May 15, 2008 5:57 pm
Forum: Support
Topic: How to Insert CR LF when writing to TRichView
Replies: 1
Views: 9119

How to Insert CR LF when writing to TRichView

I want to start a new line when writing to a TRichViewEdit but this code RichViewEditIn.InsertText('This is line 1', False); RichViewEditIn.InsertText('This is line 2', False); produces: This is line 1 This is line 2 What I want is: This is line 1 This is line 2 Which method on TRichViewEdit allows ...
by JLuckey
Tue Mar 13, 2007 9:54 pm
Forum: Support
Topic: Keeping Paragraphs Together Near Page Breaks
Replies: 1
Views: 9520

Keeping Paragraphs Together Near Page Breaks

I have a report which prints in a 2 column format. It is based closely on one of the examples that comes w/ TRichView. (It uses TRVReportHelper and its method FormatNextPage.) It is made up of many small paragraphs as many as 6-8 paragraphs per column on the printed page. Sometimes there are ...
by JLuckey
Sat Jun 17, 2006 11:21 pm
Forum: Support
Topic: TRichViewEdit as a single line edit box
Replies: 5
Views: 20682

Trapping for the Down Arrow key in onKeyDown does the trick. I haven't tried setting ClientHeight.

Thanks for the suggestions...
by JLuckey
Thu Jun 15, 2006 4:31 pm
Forum: Support
Topic: TRichViewEdit as a single line edit box
Replies: 5
Views: 20682

That's a little better.

Now instead of moving one-half of a line, the text only moves a small distance when I use the up/dn arrow keys. I tried setting VSmallStep := 0 (didn't work).

Do you have any other suggestions? Should I trap for the arrow keys & disabale them?

thanks..
by JLuckey
Wed Jun 14, 2006 11:31 pm
Forum: Support
Topic: Vert Scrollbar missing on TRichViewEdit
Replies: 2
Views: 12830

I'm the original poster for this message. Due to confusion about the version of the software I provided to my client the error referred to in this thread is non-existant.

The user had a very old version of the application which did not even contain a TRichView edit so please disregard.
by JLuckey
Wed Jun 14, 2006 11:19 pm
Forum: Support
Topic: TRichViewEdit as a single line edit box
Replies: 5
Views: 20682

TRichViewEdit as a single line edit box

I'm using a TRichViewEdit (ver 1.9.15) as a single-line edit box and preventing word wrap w/ the following code: for i := 0 to RVStyle1.ParaStyles.Count-1 do RVStyle1.ParaStyles .Options := RVStyle1.ParaStyles .Options+[rvpaoNoWrap]; RichView1.Reformat; (which works great) However I am able to ...
by JLuckey
Thu Feb 23, 2006 12:29 am
Forum: Support
Topic: Vert Scrollbar missing on TRichViewEdit
Replies: 2
Views: 12830

Vert Scrollbar missing on TRichViewEdit

The vertical scroll bar on a TRichViewEdit is missing for one of my users who is running Windows ME. It simply does not appear.

It works as expected on Win2K, Win98, & WinXP. The RichViewEdit version is 1.9.15, Delphi 6.

Have you seen this problem before?

Any ideas on how to fix?


Thanks