Search found 7 matches

by krctech
Wed Jun 14, 2017 3:20 pm
Forum: Support
Topic: programmatically adding subscripted string
Replies: 4
Views: 13039

Re: programmatically adding subscripted string

perfect - thanks Sergey!
by krctech
Tue Jun 13, 2017 10:28 pm
Forum: Support
Topic: programmatically adding subscripted string
Replies: 4
Views: 13039

Re: programmatically adding subscripted string

Thanks Sergey, that helps. However, I need to be able to add three bits of text into a table cell. The actual string is something like this 'Pressure, in-H2O (a)' Therefore, I need to add three successive strings: leftStr := 'Pressure, in-H'; subScriptStr := '2'; rightStr := 'O (a)'; I am able to ge...
by krctech
Tue Jun 13, 2017 6:34 am
Forum: Support
Topic: programmatically adding subscripted string
Replies: 4
Views: 13039

programmatically adding subscripted string

I want to be able to programmatically add text like H2O where the 2 is subscript. I'm trying to do this with

t.Cells[r, c].AddNLWTag('H'+#$2082+'O', NORMAL, RIGHT, '');

Except I simply see a box where the subscript "2" should be. What am I doing wrong?
by krctech
Mon Mar 21, 2016 2:19 am
Forum: Support
Topic: draw lines
Replies: 1
Views: 9683

draw lines

I want to be able to draw a border around the page at the margins. Simply a 1-pixel, solid black border. It's not obvious to me how this done. My document is simply a 1 page report (possible 2 page) but the customer wants this feature.
by krctech
Wed Dec 10, 2014 9:46 pm
Forum: Support
Topic: image in trichviewedit
Replies: 1
Views: 9390

image in trichviewedit

I have an image that has a resolution of 600 dpi (actually I have one that has even greater resolution). If I scale this down to display resolution (72 or 96 dpi), it looks bad when printed. If I leave the resolution at 600 and manually resize it in the control at runtime, it looks okay when printed...
by krctech
Sat Jul 05, 2014 2:46 pm
Forum: Support
Topic: print preview in separate window
Replies: 2
Views: 11263

Thanks Sergey. I looked at the demos but somehow missed these.
by krctech
Sat Jul 05, 2014 4:41 am
Forum: Support
Topic: print preview in separate window
Replies: 2
Views: 11263

print preview in separate window

I have successfully implemented a TRVPrintPreview on the same form as a TRichView. What I want to do is have a modal dialog (separate from the main form that contains the TRichView) that the user invokes which contains the preview. I've tried (unsuccessfully) to pass the TRichView instance to the mo...