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

C++빌더 Q&A
C++Builder Programming Q&A
[40398] Re:[문]MDI Form에서 Label 자동으로 나타내는방법
WARSHIP [warship] 713 읽음    2005-06-02 23:24
김유미 님이 쓰신 글 :
: MDI Form에서
: 맨위에
: TLabel *Label[5];
: 를 선언하고
:
: void __fastcall TfmDivision::Button1Click(TObject *Sender)
: {
: int y = 5;
:
:    for(int nPos=0; nPos<4; nPos++)
:    {
:    Label[nPos]                = new TLabel(Application);
:    Label[nPos]->Parent        = fmDivision;
:    Label[nPos]->Layout        = tlTop;
:    Label[nPos]->AutoSize      = false;
:    Label[nPos]->Layout        = tlCenter;
:    Label[nPos]->Height        = 18;
:    Label[nPos]->Width         = 21;
: //   Label[nPos]->Top           = 36 + y * (Label[nPos]->Height + 1);
:    Label[nPos]->Top           = 36 + y * (Label[nPos]->Height);
:    Label[nPos]->Left          = 10  + nPos * 100;
:    Label[nPos]->Alignment     = taRightJustify;
:    Label[nPos]->Transparent   = true;
:    Label[nPos]->Caption       = nPos;
:    }
:
: }
: 게 했는데
: 0 1 2 3 이 안나오거든요
: 그냥 Normail 로 하면 보여요
: 어떻게 하면 되는지좀 가르쳐주세요

Visible -> true 인지 확인해보세요 ^^;.

+ -

관련 글 리스트
40395 [문]MDI Form에서 Label 자동으로 나타내는방법 김유미 727 2005/06/02
40398     Re:[문]MDI Form에서 Label 자동으로 나타내는방법 WARSHIP 713 2005/06/02
40410         Re:Re:[문]MDI Form에서 Label 자동으로 나타내는방법 김유미 708 2005/06/03
40433             Re:Re:Re:[문]MDI Form에서 Label 자동으로 나타내는방법 소리바람.OJ 699 2005/06/06
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.