trichview.support
How do I write a block of text and retrieve it again? |
Author |
Message |
dk_sz |
Posted: 01/28/2004 20:21:34 So far I have (rve = a TRichViewEdit): rveDataOutput.AddNLTag('Header', '--Blends--', 0, 0); rveDataOutput.AddNL('From: ' + FormatDateTime('dd-mm-yy', dtpickFromDate.Date), 0, -1); rveDataOutput.AddNL('To: ' + FormatDateTime('dd-mm-yy', dtpickToDate.Date), 0, -1); rveDataOutput.AddNL('', 0, -1); rveDataOutput.AddNL('', 0, -1); I want to be able to retrieve this from code so I can ALSO use it in a header when printing... I know I could just duplicate above, but I would still like to know. Is this possible (I have 1.7.4, but I do not mind downloading 1.8.0) to do? I have tryed searching help for associating an "item" or "tag" with some text paragraph. However, I think that is a dead-end. Next thing I sorta like to do would be to modify header for each page (so I could print e.g. page number)? I haven't searched help extensively about this yet though, but if anyone has a tip where to begin I would appreciate that as well. best regards Thomas Schulz |
Powered by ABC Amber Outlook Express Converter