¾Æ·¡¿Í °°ÀÌ Çϸé ÷ºÎ ÆÄÀÏó·³ ³ª¿É´Ï´Ù.. Âü°íÇÏ¿© Àû¿ëÇØ º¸½Ã±æ..... procedure TForm11.Button1Click(Sender: TObject); var i: Integer; CurrDate: TDateTime; begin CurrDate := Date;
with AdvStringGrid1 do begin WordWrap := False; VAlignment := vtaCenter; for i := 0 to ColCount - 1 do begin Alignments[i, 0] := taCenter; Alignments[i, 1] := taCenter; Alignments[i, 2] := taCenter; end;
MergeCells(0,0, 1, 3); Cells[0, 2] := 'NO'; MergeCells(1,0, 1, 3); Cells[1, 1] := 'ŸÀÌƲ1'; MergeCells(2,0, 1, 3); Cells[2, 1] := 'ŸÀÌƲ2';
MergeCells(3,0, 3, 1); Cells[3, 0] := 'ŸÀÌƲ5'; MergeCells(3,1, 3, 1); Cells[3, 1] := FormatDateTime('M', CurrDate) + '¿ù'; Cells[3, 2] := 'aaa'; Cells[4, 2] := 'bbb'; Cells[5, 2] := 'ccc';
MergeCells(6,0, 3, 1); Cells[6, 0] := 'Current(1~90)';
Cells[6, 1] := '1~30'; Cells[6, 2] := '(' + FormatDateTime('M', CurrDate) + '¿ù)'; Cells[7, 1] := '31~60'; Cells[7, 2] := '(' + FormatDateTime('M', IncMonth(CurrDate, -1)) + '¿ù)'; Cells[8, 1] := '61~90'; Cells[8, 2] := '(' + FormatDateTime('M', IncMonth(CurrDate, -2)) + '¿ù)';
MergeCells(9, 0, 1, 3); Cells[9, 1] := 'ÇÕ°è';
MergeCells(10, 0, 3, 1); Cells[10, 0] := 'ŸÀÌƲ';
MergeCells(10, 1, 1, 2); Cells[10, 1] := '±¸ºÐ'; Cells[11, 1] := '±×·ì'; Cells[11, 2] := 'A,B,C'; Cells[12, 1] := '»óÅÂ'; Cells[12, 2] := 'A, I'; end; end;
>> 1. °³¹ß/½ÇÇà Ç÷§Æû >> (1) OS : win7 >> (2) °³¹ßÅø : 2007 >> (3) »ç¿ë Database : >> >> 2. °³¹ß ÁßÀÎ ÇÁ·Î±×·¥ >> >> 3. Áú¹® ³»¿ë >> >> >> ¿¹) >> group 1 | group2 >> col1 | col2 | col3 | col4 >> >> ÀÌ·¸°Ô »ó´ÜÀ» ³ª´·Á°íÇϴµ¥ >> >> columnHeaders¿¡¼ ¸®½ºÆ®´Â ÀÛ¼ºÇÏÁö¸¸ ³ª´©´Â°Ç ¾î¶»°ÔÇؾßÇÒÁö... >> >> ÄÚµùÀ¸·ÎÇؾßÇϳª¿ä? properties¿¡¼ ¼ÂÆÃÀÌ °¡´ÉÇÑÁö¿ä...?
|