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
[2955] >질문< [델파이]컴포넌트 설치후의 에러...
cks7108 [ ] 1357 읽음    1998-05-24 20:53

컴포넌트를 설치 하고
제거 하는 것이 잘 안되서 그럼니다.

책에 있는 소스대로 컴포 넌트를 만들어
인스톨 했는데 인스톨 까지 에러가 없었는데,
폼에 떨구니까,
Control ''has no parent window.
라는 에러 메시지가 나오고 폼에 떨어 지지
않거든요,
소스는 아래 있고요.

unit FontCombo;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls;

type
  TFontCombo = class(TComboBox)
  private
    { Private declarations }
  protected
    { Protected declarations }
  public
    { Public declarations }
    constructor create( AOwner : TComponent );override;
    procedure CreateWnd ; override;
  published
    { Published declarations }
    property Style default csDropDownList;
  end;

procedure Register;

implementation
constructor TFontCombo.create(Aowner: TComponent);
begin
  inherited Create(AOWner);
  style := csDropDownList;
  items := Screen.Fonts;
end;
procedure TFontCombo.CreateWnd;
begin
  inherited CreateWnd;
  items := Screen.Fonts;
end;
procedure Register;
begin
  RegisterComponents('Samples', [TFontCombo]);
end;

end.

사요하는 버전은 3.0 클라이언트 서버 버전입니다.

그리고 설치된 컴포넌트는 어떻게 제거 하죠.

도움 바랍니다.



+ -

관련 글 리스트
2955 >질문< [델파이]컴포넌트 설치후의 에러... cks7108 1357 1998/05/24
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.