Search found 7 matches
- Wed Jun 14, 2017 3:20 pm
- Forum: Support
- Topic: programmatically adding subscripted string
- Replies: 4
- Views: 14367
Re: programmatically adding subscripted string
perfect - thanks Sergey!
- Tue Jun 13, 2017 10:28 pm
- Forum: Support
- Topic: programmatically adding subscripted string
- Replies: 4
- Views: 14367
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 ...
- Tue Jun 13, 2017 6:34 am
- Forum: Support
- Topic: programmatically adding subscripted string
- Replies: 4
- Views: 14367
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?
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?
- Mon Mar 21, 2016 2:19 am
- Forum: Support
- Topic: draw lines
- Replies: 1
- Views: 9947
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.
- Wed Dec 10, 2014 9:46 pm
- Forum: Support
- Topic: image in trichviewedit
- Replies: 1
- Views: 9624
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 ...
- Sat Jul 05, 2014 2:46 pm
- Forum: Support
- Topic: print preview in separate window
- Replies: 2
- Views: 11581
- Sat Jul 05, 2014 4:41 am
- Forum: Support
- Topic: print preview in separate window
- Replies: 2
- Views: 11581
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 ...