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
[20168] Re:Re:Re:Re:Re:CustomComboBox 의 OnHilithing이던가..를 쓰면 된다고 하데요..그런데...
마법감자 [magicptt] 932 읽음    2002-07-16 15:04
음 CLX로 보니까 있네요 (이쪽은 영 꽝인데 -_-)
근데 헬프를 봐도, 소스를 봐도 TComboBox에는 OnHighlighted 이벤트가 있습니다.
(빌더6을 갖고 있지 않아서 델파이6의 헬프와 소스를 봤습니다)

    property OnHighlighted; // published

만약 없으면 다음과 같이 하시면 됩니다.

((TCustomComboBox *)ComboBox1)->OnHighlighted = atHighlited; // 크루저



사무엘 님이 쓰신 글 :
: CLX Reference
: TCustomComboBox::OnHighlighted
:
: CLX는 다른 건가요? 제가 잘 몰라서요.콤보박스를 쓰게 되면..디폴트로 VCL을 쓰게 되는건가요?
:
: Occurs when a new item in the list becomes current.
:
: typedef void __fastcall (__closure *TComboBoxHighlighEvent)(TObject* Sender, int Index);
: __property TComboBoxHighlightEvent OnHighlighted = {read=FOnHighlighted write=
: FOnHighlighted};
:
: Description
:
: Write an OnHighlighted event handler to respond when the highlighted item in the list changes. For example, you can use OnHighlighted to update a status bar that provides information about the current item.
:
: Sender is the combo box whose current item just changed.
:
: Index is the index of the item that is now highlighted.
:
: Note:    OnHighlighted reflects changes to the current item in the list that are not necessarily selected (that is, the text property has not yet changed.) For example, OnHighlighted occurs several times as the user cursors though the drop-down list. To respond only when an item is selected, use the OnSelect event instead.

+ -

관련 글 리스트
20168 Re:Re:Re:Re:Re:CustomComboBox 의 OnHilithing이던가..를 쓰면 된다고 하데요..그런데... 마법감자 932 2002/07/16
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.