Source2 [delphi / TstringGrid] StringGrid 간단 문법 사용 예제 ※ TstringgGrid 간단 문법 예제 이다. ※ 사용 언어 : DelphiXE3 1. 실행 화면 2. Sample Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 with StringGrid1 do begin ColCount := 10; FixedCols := 1; FixedRows := 1; DefaultRowHeight := 20; DefaultColWidth := 80; Cells[00,0] := '1'; Cells[01,0] := '2'; Cells[02,0] := '3'; Cells[03,0] := '4'; Cells[04,0] := '5'; Cells[05,0] := '6'; for i :=.. 2021. 1. 29. [Delphi 문법] "ExTractStrings" 간단 예제 ※ 사용 하고있는 문법 중 추후 찾아 보기 용이하게 간단하게 기록 및 필요 한 사람을 위한 기록 ※ ExTractStrings 문법 사용시 Parsing 갯수를 고정으로 가져가기 때문에 코딩 시 주의 - 실행 화면 1) 간단 예제 실행 화면 ** - 실행 전** ** - 실행 후** 2) Sample Source begin try sWords := TStringList.Create; strtemp := edt_msg.text; if ExTractStrings(['/'], [], PChar(strtemp), sWords) = 0 then Exit; sWhere := ''; edt_parsing1.Text := sWords[0]; edt_parsing2.Text := sWords[1]; edt_parsing.. 2021. 1. 1. 이전 1 다음