if you want to print only the data try using a QuickReport, associated to same datasource of your DBGrid.
Simply link fields to correspondent qrdblabels and the same data that appears in DBGrid appears in QuickReport.
Or if you want to print the DBGrid, you can try a "print screen"...
Hi,
you can try to use the unit Clipbrd.pas, simply add Clipbrd to your uses.
Then you can use many other things, like copy images, text or any other thing to memory and after paste in appropriate program.
Try typing TClipboard in Delphi Editor and then press F1, the help has all the things...
Hi,
as i understand, all you need is load a text file and replace some words. Try this:
var
SL: TStringList;
I: Integer;
begin
SL := TStringList.Create;
SL.LoadFromFile('yourfile.html'); //load file
for I := 0 to SL.Count - 1 do
StringReplace(SL[I], 'oldWord', 'newWord'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.