Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Background-Render

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Background Rendering using Delphi

This small project shows how to stop the GUI freezing up when a processor-intensive image is rendered as a print preview. In this case the user selects the color from the ColorPicker. The rendering is done is a TThread and uses a "Sleep" statement to simulate the rendering delay. Once complete the image is transfered to the paintbox.