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
[26184] [질문]StringGrid에 콤보박스 넣기
김유미 [] 1194 읽음    2003-07-02 09:11
프로그램들 보면 StringGrid나 DBGrid에 콤보박스, 체크박스 같은것이
들어가 있는것을 볼수 있는데요
저도 해보려고 하는데 잘 안되네요

   TComboBox *t = new TComboBox(this);
   sgTalkList->Objects[5][co] = t;
   t->Parent = sgTalkList;
   t->BoundsRect = sgTalkList->CellRect(5,co);
   t->BiDiMode = bdLeftToRight;
   t->Color = clWindow;
   t->Cursor = crDefault;
   t->DragCursor = crDrag;
   t->DropDownCount = 8;
   t->Enabled = true;
   t->Height = sgTalkList->RowHeights[5];
   t->HelpContext = 0;
   t->Hint = "";
   t->ImeMode = imDontCare;
   t->ImeName = "한국어 입력 시스템 (IME 2000)";
   t->ItemHeight = 13;
   t->MaxLength = 0;
   t->ParentBiDiMode = true;
   t->ParentColor = false;
   t->ParentFont = true;
   t->ParentShowHint = true;
   t->ShowHint = false;
   t->Style = csDropDown;


   t->Width = sgTalkList->ColWidths[5];

   t->Text = "AAA";
   t->Items->Add("a1");
   t->Items->Add("a2");
   t->Items->Add("a3");
   t->Items->Add("a4");
   t->Items->Add("a5");

이렇게 하니까 콤보박스는 생겼는데 Item 목록을 볼수가 없어요

+ -

관련 글 리스트
26184 [질문]StringGrid에 콤보박스 넣기 김유미 1194 2003/07/02
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.