일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 마이크로소프트
- oracle
- 윈폼
- SSRS
- 비주얼스튜디오
- 자바스크립트
- 엑셀
- 태그를 입력해 주세요.
- Excel
- CONVERT()
- 단축키
- IIS
- Winform
- MSSQL
- microsoft
- 오라클
- javascript
- 윈도우
- 프로시저
- attr()
- MS
- ASP
- windows
- 리포팅서비스
- aspnet
- 이클립스
- jQuery
- DataGrid
- c#
- replace()
- Today
- Total
목록textbox (4)
DJ메탈짱™의 Free Style
물론 아시겠지만...모든 파일이 아닌 공통적으로 사용되는 파일의 스크립트에 선언하면 딱 좋음.
###Textbox 글 입력시 특정 글자수가 되면 다음 컨트롤로 자동이동. Tab, Tab Order, Next, Control, Focus### // 이벤트 연결.this.txtDepApo.txtSearch.TextChanged += new EventHandler(FocusMove); /// /// 포커스이동/// /// /// private void FocusMove(object sender, EventArgs e){ TextBox txt = (TextBox)sender; if (txt.Text.Length == 3) // 이벤트 핸들러 설정된 컨트롤의 글자입력수가 3글자이면, { SendKeys.Send("{tab}"); // Tab키를 실행하고 Focus를 설정. (Tab Order 기준으로 이동..
// 입력한 값 선택을 위한 시작점을 전역변수로 설정. int _startIndex; private void button1_Click(object sender, EventArgs e) { // 입력한 값이 결과내용에 존재하면 해당 위치 시작점을 가져옴. _startIndex = textBox2.Text.IndexOf(this.textBox1.Text, _startIndex); // 결과값이 마지막에 도달하면 초기설정. if (_startIndex == -1) { // 결과값이 존재하지 않으면 이하 실행되지 않도록... _startIndex = textBox2.Text.IndexOf(this.textBox1.Text, 0); if (_startIndex == -1) { _startIndex = 0; ret..