Question “How can I render a control on my form, to my report?” Solution The following example uses the ReportBuilder PaintBox control to render a TProgressBar and a TGauge to a report. The TProgressBar is a TWinControl descendant and the TGauge is a TGraphicControl descendant. Download: RenderControlToPaintBox.zip procedure TForm1.ppPaintBox1Print(Sender: TObject); begin // size the paint Full Article…
Search the Wiki
Viewing 76 to 78 of 409 items
Loading an Image by Path at Runtime
TECH TIP: Loading an Image Dynamically Question: “We store paths to our image files in our database rather than the images themselves. How can I load the images at runtime?” Answer: Connect the DBImage to the string field and it will automatically try to load the image from the file.