Rysowanie bitmapy w określonym wierszu i kolumnie
Aby w komponencie DrawGrid w 2 kolumnie i w 2 wierszu narysować zawartość komponentu Image1 należy utworzyć zdarzenie OnDrawCell dla komponentu DrawGrid:
Unit1.cpp |
void __fastcall TForm1::DrawGrid1DrawCell(TObject *Sender, int
Col, int Row, TRect &Rect, |