|
void __fastcall TFrmTempTime::StringGrid1DrawCell(TObject *Sender,
int ACol, int ARow, TRect &Rect, TGridDrawState State)
{
StringGrid1->Canvas->Brush->Color = 0x004AAAEA;
StringGrid1->Canvas->FillRect(Rect);
StringGrid1->Canvas->Brush->Color = clBlack;
StringGrid1->Canvas->TextOut(ACol, ARow, "TITLE");
StringGrid1->Canvas->Font->Size = 20;
StringGrid1->Canvas->Font->Style = TFontStyles() << fsBold; //굵게
StringGrid1->Canvas->Font->Name = "맑은 고딕";
}
이렇게 하면 TITLE 이란 문자가 쫙 찍혀야 하느데.. 안됩니다.
도와주세요. ㅜㅜ
|