Tile/Center image in the forms background
问题 Is there a way to place an image in the form background and be able to tile it or center it ? Also I need to place other components on top of the image. I tried rmControls but I cannot place anything on top of the image. 回答1: You can paint your image in an OnPaint handler for the form. Here's a simple example of tiling: procedure TMyForm.FormPaint(Sender: TObject); var Bitmap: TBitmap; Left, Top: Integer; begin Bitmap := TBitmap.Create; Try Bitmap.LoadFromFile('C:\desktop\bitmap.bmp'); Left :