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
[5464] >질문< Password 창에 대한 추가 질문이요...?
ccms732 [ ] 799 읽음    1999-01-06 09:48
zpfdpf2님 답변에 감사드립니다..

근데 실제 코딩을 해 보니 에러가 있군요..

아래와 같이 코딩을 했는데, 'mrCancel'이 undeclared identifier라는군요..

program Project1;
uses
  Forms,
  Unit1 in 'Unit1.pas' {Form1},
  Unit2 in 'Unit2.pas' {PasswordDlg};
{$R *.RES}
begin
     Application.Initialize;
     PasswordDlg := TPasswordDlg.Create(Application);
     if PasswordDlg.ShowModal = mrCancel then
     begin
          PasswordDlg.Free;
          Exit;
     end;
     Application.CreateForm(TForm1, Form1);
     Application.Run;
end.

uses문에서도 Forms가 선언되어 있으니 되는게 아닌가요?


+ -

관련 글 리스트
5464 >질문< Password 창에 대한 추가 질문이요...? ccms732 799 1999/01/06
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.