Underlay example for Delphi

This example loads a bitmap into Lead2 and uses it as a tiled underlay for Lead1.

Lead2.Visible := False;
Lead2.Load('c:\lead\images\ulay1.bmp', 0, 0, 1);
Lead1.Underlay(Lead2.Bitmap, UB_TILE);
Lead1.ForceRepaint;