HRGN MyRgn; MyRgn = CreateRectRgn(Rect.Left,Rect.Top,Rect.Right,Rect.Bottom); SelectClipRgn(StringGrid1->Canvas->Handle,MyRgn);