Delphi Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
델파이 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
FreePascal/Lazarus
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
델마당
볼랜드포럼 광고 모집

델파이 Q&A
Delphi Programming Q&A
[12601] 델파이소스 하나만 봐주세요~~~
딩요~ [] 1556 읽음    2009-04-13 22:10
implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
SG.Cells[0,0]:='번호';
SG.Cells[1,0]:='학번';
SG.Cells[2,0]:='이름';
SG.Cells[3,0]:='전화';
SG.Cells[4,0]:='주소';
end;

procedure TForm1.Button1Click(Sender: TObject);
//전역변수 필요 몇번 저장했는지 아는 변수 필요
begin
cnt:= 1;
sg.Cells[cnt,cnt]:='inttostr(cnt-1)';
sg.Cells[cnt+1,cnt]:='edit2.text';
sg.Cells[cnt+2,cnt]:='inttostr(edit3.Text)';
sg.Cells[cnt+3,cnt]:='edit4.Text';
sg.Cells[cnt+4,cnt] :='inttostr(edit1.text)';

inc(cnt);
end;

end.

이거 프로그램좀짜주세요...ㅠㅠ
몇앞에 번호 넣고 학번 넣고 이름 넣고 전화  주소
계속 넣을수있게요..ㅠㅠ
이거 막혔네요 ㅠㅠ

+ -

관련 글 리스트
12601 델파이소스 하나만 봐주세요~~~ 딩요~ 1556 2009/04/13
12603     Re:델파이소스 하나만 봐주세요~~~ civilian 1561 2009/04/14
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.