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
[15843] Re:Re:Re:답변 감사합니다.
첫눈 [hadugo] 2027 읽음    2016-12-05 15:57
감사합니다.^^

kylix 님이 쓰신 글 :
: TRadioButton의 OnClick 이벤트가 해당하는 액션에 반응하는 이벤트입니다.
:
: 아래는 TRadioButton.OnClick 이벤트에 대한 도움말입니다.
:
: Usually OnClick occurs when the user presses and releases the left mouse button with the mouse pointer over the control. This event can also occur when:
:
: The user selects an item in a grid, outline, list, or combo box by pressing an arrow key.
: The user presses the SPACEBAR while a button or check box has focus.
: The user presses ENTER when the active form has a default button (specified by the Default property).
: The user presses ESC when the active form has a cancel button (specified by the Cancel property).
: The user presses the accelerator key for a button or check box. For example, if the value of the Caption property of a check box is '&Bold', the B is underlined at run time and the OnClick event of the check box is triggered when the user presses Alt+B. However, focus does not move to the control in these instances.
: The Checked property of a radio button is set to true.
: The value of the Checked property of a check box is changed.
: The Click method of a menu item is called.
:
: 첫눈 님이 쓰신 글 :
: : 말씀하신 내용은 알겠는데요.
: : 그걸 어느 이벤트에서 하느냐가 문제입니다.
: : 제가 원하는 것은 키보드로 선택하던 마우스로 선택하던 아니면 다른 어떤 외부프로그램을 이용하여 강제로 선택이 바뀌던
: : 하여간 선택이 바뀌면 이벤트가 발생하게 하고 싶은건데요.
: :
: :
: : 太郞 님이 쓰신 글 :
: : : 첫눈 님이 쓰신 글 :
: : : : Panel위에 RadioButton을 두개 올려 놓았습니다.
: : : :
: : : : RadioButton을 선택하면 그에 맞는 데이터를 화면에 보여주고자 하는데요.
: : : :
: : : : 문제는 RadioButton에 onChange나 onSelected이벤트가 없네요.
: : : :
: : : : 지금까지는 어쩔 수 없이 Click이벤트에서 처리를 했는데
: : : : 키보드의 방향키로 RadioButton을 선택하는 경우에는 처리를 할 수가 없습니다.
: : : :
: : : : RadioButton에서 onChange나 onSelected이벤트를 처리할 수는 없을까요?
: : : -------------------------------------------------------------
: : : 이런식으로 하면 어떨까요?
: : :
: : :  Case RadioGroup1.ItemIndex Of
: : :   0 : Begin
: : :         Label118.Caption :='이름검색';
: : :       End;
: : :   1 : Begin
: : :        Label118.Caption :='번호검색';
: : :       End;
: : :  End;

+ -

관련 글 리스트
15825 TRadioButton에서 OnChange나 onSelected이벤트를 구현하고 싶은데요. 첫눈 1630 2016/11/24
15841     Re:TRadioButton에서 OnChange나 onSelected이벤트를 구현하고 싶은데요. StarWagon 2008 2016/12/02
15826     RadioGroup1.ItemIndex 를 이용하면 어떨까요? 太郞 1754 2016/11/25
15835         Re:답변 감사합니다. 하지만 제가 원하는 것은 그게 아니라서... 첫눈 1691 2016/12/01
15837             Re:Re:답변 감사합니다. 하지만 제가 원하는 것은 그게 아니라서... kylix 1742 2016/12/01
15843                 Re:Re:Re:답변 감사합니다. 첫눈 2027 2016/12/05
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.