Nexacro35 [Nexacro] Quick View로는 보이지만 Launch로는 화면이 보이지 않을 때. [문제점] 폼을 생성하고 나서 컴포넌트를 추가 했는데, Quick View로는 생성한 컴포넌트가 잘 보이지만 Launch를 해보니 빈 화면만 보인다. [해결방법] 1) Application Information > Applications > Applicaiton_Desktop > mainframe 에 ChildFrame 추가7 2) ChildFrame의 Properties > Appearance > formurl 에 만들어준 폼 등록. 이러면 상단 헤더가 두 개 생길 것이다.(하나는 mainframe꺼, 하나는 ChildFrame꺼) 3) ChildFrame의 Properties > Mis. > showtitlebar 을 true로 바꿔주자. 2021. 12. 3. [Nexacro] 달력에 원하는 날짜 표시 안됨 앞 달력에는 현재 달의 1일, 뒤 달력에는 오늘 날짜를 초기값으로 넣고싶었는데, 아예 날짜가 들어가지 않았다. ( 앞 달력 컴포넌트 ID: cal_from 뒷 달력 컴포넌트 ID: cal_to div 컴포넌트 ID: div_search) var objDate = new Date(); var sYear = objDate.getFullYear().toString(); var sMonth = (objDate.getMonth() + 1).toString().padLeft(2, "0"); // ex) 6 -> 06 var sDay = objDate.getDate().toString().padLeft(2, "0"); trace("!!!: " + this.div_search.form.cal_from); this.di.. 2021. 11. 30. [Nexacro] Form_onload(Init 함수) 메소드 호출 안됨 Script에 this.Form_onload 함수를 작성하면 화면을 실행할 때 자동으로 함수가 호출되는 줄 알았다. (바보같이) this.Form_onload 메소드 안에 아무리 trace()나 alert()를 넣어봐도 아무것도 안찍히길래 보니까... 이 메소드 등록을 따로 해줘야 했던 것이다. [해결법] Form -> Properties ->Event -> onload -> Form_onload 입력 cf) Form_onload 메소드: 2021. 11. 30. [Nexacro] 현재 날짜 구하기(Y,M,D): getDate, toString, padLeft var objDate = new Date(); var sYear = objDate.getFullYear().toString(); var sMonth = (objDate.getMonth() + 1).toString().padLeft(2, "0"); var sDay = objDate.getDate().toString().padLeft(2, "0"); - Date() : 날짜 - getFullYear() : 연도 - getMonth() : 월 - getDate() : 일 - padLeft(A, B) / padRight(A, B) : A 길이가 되도록 B로 채우기. 2021. 11. 30. 이전 1 2 3 4 ··· 9 다음