instruction
stringlengths
21
57
output
stringlengths
3
1.48k
폼(Form)의 Property중 fonttype의 예제를 알려줘
SetCtlProp(\"Form\ \"fonttype\ \"10\")
폼(Form)의 Property중 resize의 기능을 설명해줘
폼 크기변경에 따른 컨트롤 위치/크기 설정(\"Left, Top, Width, Height\" -> 0:고정, 1:크기증감)
폼(Form)의 Property중 resize의 예제를 알려줘
SetCtlProp(\"Form\ \"resize\ \"1,1,1,1\")\nGetCtlProp(\"Form\ \"resize\")
폼(Form)의 Property중 transmode의 기능을 설명해줘
컨트롤 배경을 부모컨트롤의 배경색과 동일하게 처리할것인지 여부
폼(Form)의 Property중 transmode의 예제를 알려줘
SetCtlProp(\"Form\ \"transmode\ \"1\")
폼(Form)의 Property중 menubar의 기능을 설명해줘
메뉴바 설정 (0:없음 1:종목선택)
폼(Form)의 Property중 menubar의 예제를 알려줘
SetCtlProp(\"Form\ \"menubar\ \"1\")
폼(Form)의 Property중 eventtr의 기능을 설명해줘
기본 이벤트 발생시 처리할 TR을 지정합니다.
폼(Form)의 Property중 eventtr의 예제를 알려줘
SetCtlProp(\"Form\ \"eventtr\ \"sEventTrName\")
폼(Form)의 Method중 CloseForm의 기능을 설명해줘
화면 닫기
폼(Form)의 Method중 CloseForm의 예제를 알려줘
CloseForm()
폼(Form)의 Method중 GetScreenNo의 기능을 설명해줘
화면번호 얻기
폼(Form)의 Method중 GetScreenNo의 예제를 알려줘
GetScreenNo()
폼(Form)의 Method중 GetOpenLinkData의 기능을 설명해줘
OpenScreen 이나 OpenDialog 에서 전달된 연결 데이터 얻기
폼(Form)의 Method중 GetOpenLinkData의 예제를 알려줘
GetOpenLinkData()
폼(Form)의 Method중 SetScreenWidthHeight의 기능을 설명해줘
화면 높이 너비 설정
폼(Form)의 Method중 SetScreenWidthHeight의 예제를 알려줘
SetScreenWidthHeight(nWidth, nHeight)
폼(Form)의 Method중 GetScreenHeight의 기능을 설명해줘
화면 높이 얻기
폼(Form)의 Method중 GetScreenHeight의 예제를 알려줘
GetScreenHeight()
폼(Form)의 Method중 GetScreenWidth의 기능을 설명해줘
화면 너비 얻기
폼(Form)의 Method중 GetScreenWidth의 예제를 알려줘
GetScreenWidth()
폼(Form)의 Method중 SetSharedData의 기능을 설명해줘
공통 정보 설정 (\"키값\ \"저장할 데이터\")
폼(Form)의 Method중 SetSharedData의 예제를 알려줘
SetSharedData(sKeyName, sData)
폼(Form)의 Method중 GetSharedData의 기능을 설명해줘
공통정보 얻기 (\"키값\ \"공유 메모리 삭제 여부\")
폼(Form)의 Method중 GetSharedData의 예제를 알려줘
GetSharedData(sKeyName, bClear)
폼(Form)의 Method중 MsgBox의 기능을 설명해줘
메시지 박스를 띄운다 (sTitle, sMseg, sKeyName, nType)\n- sTitle: 타이틀\n- sMseg: 메시지\n- sKeyName: 메시지박스 키 (닫힐 때 \"OnMsgBoxClose(sKeyName, sRet)\" 이벤트 발생시 키값)\n- sType: 0:\"닫기\ 1:\"확인\\"취소\ 2:\"예\\"아니오\ 3:\"확인\""
폼(Form)의 Method중 MsgBox의 예제를 알려줘
MsgBox(sTitle, sMseg, sKeyName, nType)
폼(Form)의 Method중 ShowAlert의 기능을 설명해줘
메시지 팝업을 띄운다 (\"타이틀\ \"메시지\")
폼(Form)의 Method중 ShowAlert의 예제를 알려줘
ShowAlert(sTitle, sMseg)
폼(Form)의 Method중 Toast의 기능을 설명해줘
토스트 메시지를 띄운다. (nType, msg, bLongTime)\n- nType: 0/1\n- msg: 메시지 내용\n- bLongTime: 토스트 메시지 유지 시간 0:3000ms 1:3500ms"
폼(Form)의 Method중 Toast의 예제를 알려줘
Toast(1, \"내용\ false)
폼(Form)의 Method중 Log의 기능을 설명해줘
스크립트에서 로그를 찍어볼 수 있는 함수\n- sTag: 로그 태그\n- sMsg: 로그 메시지
폼(Form)의 Method중 Log의 예제를 알려줘
Log(sTag, sMsg)
폼(Form)의 Method중 OpenDialog의 기능을 설명해줘
다이얼로그 박스 열기\n- sMapFile: 파일명\n- sOpenData: 오픈시 넘겨줄 데이터\n- sPosInfo: 오픈시 옵션 (\"CERT\": 공인인증이 필요한 화면 오픈시)
폼(Form)의 Method중 OpenDialog의 예제를 알려줘
OpenDialog(sMapFile, sOpenData, sPosInfo)
폼(Form)의 Method중 OpenScreen의 기능을 설명해줘
화면 열기\n- sScreenNo: 화면번호\n- sOpenData: 오픈시 넘겨줄 데이터
폼(Form)의 Method중 OpenScreen의 예제를 알려줘
OpenScreen(sScreenNo, sOpenData)
폼(Form)의 Method중 OpenPopup의 기능을 설명해줘
팝업화면 열기\n- sMapFile: 파일명\n- sOpenData: 오픈시 넘겨줄 데이터\n- sPosInfo: 오픈시 옵션 (\"CERT\": 공인인증이 필요한 화면 오픈시)
폼(Form)의 Method중 OpenPopup의 예제를 알려줘
OpenPopup(sMapFile, sOpenData, sPosInfo)
폼(Form)의 Method중 OpenFramePopup의 기능을 설명해줘
프레임 팝업 화면 열기\n- sMapFile: 파일명\n- sOpenData: 오픈시 넘겨줄 데이터\n- sPosInfo: 오픈시 옵션 (\"CERT\": 공인인증이 필요한 화면 오픈시)
폼(Form)의 Method중 OpenFramePopup의 예제를 알려줘
OpenFramePopup(sMapFile, sOpenData, sPosInfo)
폼(Form)의 Method중 SetScreenName의 기능을 설명해줘
OpenFramePopUp에서 화면 타이틀명 지정
폼(Form)의 Method중 SetScreenName의 예제를 알려줘
SetScreenName(sScreenName)
폼(Form)의 Method중 OpenCommonDialog의 기능을 설명해줘
공통 다이알로그 열기\n- sDlgName, sParam1, sParam2:\n \"LOGIN\ \"\ \"\": 로그인팝업\n \"CERT\ \"\ \"\": 공인인증팝업\n \"KS\ nType, sTitle: 키보드팝업 (nType 0:UserID 1:IDPwd 2:공인인증 3:주민번호)\n \"S_T\ \"nCodeType'x'y'width'height\ Notify: 종목검색 Tablet\n \"S\ nCodeType, Notify: 종목검색 Phone\n \"Q\ Target Control, ItemCode: 수량선택팝업\n \"Q_FO\ Target Control, ItemCode: 선옵수량선택팝업\n \"P\ Target Control, ItemCode: 단가선택팝업\n \"T\ Target Control, ItemCode: 단가선택팝업\n \"C\ Target Control, \"\": 공인인증입력 팝업\n \"H_T\ Code1:Code2..CodeN, Notify: 종목히스토리 팝업 Tablet\n \"IS\ \"\ \"\": 지수 검색 팝업\n \"KP_C\ Target Control, \"nOrderType:종목코드:단가\": 수량계산기 팝업\n \"KP_Q\ Target Control, \"nOrderType:nOrderGubun:수량:계좌:비번:종목코드:입력단가:결제구분:일자\": 수량키패드\n \"KP_P\ Target Control, \"nOrderType:종목코드:단가\": 단가키패드\n \"FO\ BMarketGubun, Notify: 선물옵션 종목 검색창\n \"F\ Target Control, \"종목코드\": 단가선택팝업\n \"O\ Target Control, \"종목코드\": 단가선택팝업"
폼(Form)의 Method중 OpenCommonDialog의 예제를 알려줘
OpenCommonDialog(sDlgName, sParam1, sParam2)
폼(Form)의 Method중 OpenPopOver의 기능을 설명해줘
팝오버 화면을 연다\n- sMapFile: 파일명\n- sOpenData: 오픈시 넘겨줄 데이터\n- sPosInfo: 오픈시 옵션 (\"CERT\": 공인인증이 필요한 화면 오픈시)\n- sCtlName: 팝오버 기준 컨트롤명\n- nPosType: 팝오버 위치(1:좌측 2:위 3:우측 4:아래)
폼(Form)의 Method중 OpenPopOver의 예제를 알려줘
OpenPopOver(sMapFile, sOpenData, sPosInfo, sCtlName, nPosType)
폼(Form)의 Method중 OpenOverlapPopup의 기능을 설명해줘
오버랩 팝업화면 열기\n- sMapFile: 파일명\n- sOpenData: 오픈시 넘겨줄 데이터\n- nOwnerMinWidth: 모화면 너비\n- nChildWidth: 차일드 화면 너비
폼(Form)의 Method중 OpenOverlapPopup의 예제를 알려줘
OpenOverlapPopup(sMapFile, sOpenData, nOwnerMinWidth, nChildWidth)
폼(Form)의 Method중 SendReturnToParent의 기능을 설명해줘
다이알로그나 팝업화면에서 모화면에게 OnPopupReturn 리턴\n- sKeyName: 키값\n- sData: 데이터
폼(Form)의 Method중 SendReturnToParent의 예제를 알려줘
SendReturnToParent(sKeyName, sData)
폼(Form)의 Method중 SaveConfigData의 기능을 설명해줘
데이터를 파일에 저장한다\n- sFileName: 파일명\n- sKey: 키값\n- sValue: 데이터
폼(Form)의 Method중 SaveConfigData의 예제를 알려줘
SaveConfigData(sFileName, sKey, sValue)
폼(Form)의 Method중 LoadConfigData의 기능을 설명해줘
저장된 데이터를 읽어온다\n- sFileName: 파일명\n- sKey: 키값
폼(Form)의 Method중 LoadConfigData의 예제를 알려줘
LoadConfigData(sFileName, sKey)
폼(Form)의 Method중 GetOrientation의 기능을 설명해줘
현재 기기의 방향을 리턴한다 0:세로 1:가로
폼(Form)의 Method중 GetOrientation의 예제를 알려줘
GetOrientation()
폼(Form)의 Method중 GetEnvData의 기능을 설명해줘
메인 환경설정값을 읽어온다
폼(Form)의 Method중 GetEnvData의 예제를 알려줘
GetEnvData(sEnvKey)
폼(Form)의 Method중 SendMessageToMain의 기능을 설명해줘
메인으로 메시지를 보낸다\n- sMessageID: 메시지 ID\n- sParam1: 인자1\n- sParam2: 인자2
폼(Form)의 Method중 SendMessageToMain의 예제를 알려줘
SendMessageToMain(sMessageID, sParam1, sParam2)
폼(Form)의 Method중 GetItemCodeInfo의 기능을 설명해줘
종목명, 시장구분 리턴\n- sCode: 종목코드\n- sType: 0:종목명 1:마켓
폼(Form)의 Method중 GetItemCodeInfo의 예제를 알려줘
GetItemCodeInfo(sCode, sType)
폼(Form)의 Method중 GetMarketGubun의 기능을 설명해줘
시장구분 리턴
폼(Form)의 Method중 GetMarketGubun의 예제를 알려줘
GetMarketGubun(szItemCode)
폼(Form)의 Method중 GetAccountInfo의 기능을 설명해줘
계좌정보 얻기\n- sAccount: 계좌번호\n- sType: \"name\" 계좌명, \"productname\" 상품, \"branchcode\" 지점코드
폼(Form)의 Method중 GetAccountInfo의 예제를 알려줘
GetAccountInfo(sAccount, sType)
폼(Form)의 Method중 GetFutureCode의 기능을 설명해줘
코스피 선물 월물 코드 얻기\n- nType: 월물 (0:K200선물 1:최근월 2:차근월 3:차차근월 4:차차차근월)\n- isShort: 단축코드 여부
폼(Form)의 Method중 GetFutureCode의 예제를 알려줘
GetFutureCode(nType, isShort)
폼(Form)의 Method중 GetOptionATMCode의 기능을 설명해줘
옵션 ATM 코드 얻기\n- nType: 1:콜 2:풋
폼(Form)의 Method중 GetOptionATMCode의 예제를 알려줘
GetOptionATMCode(nType)
폼(Form)의 Method중 OpenPdfViewer의 기능을 설명해줘
해당 URL의 PDF 뷰어를 실행한다\n- sFileURL: 경로\n- sTitle: 타이틀
폼(Form)의 Method중 OpenPdfViewer의 예제를 알려줘
OpenPdfViewer(sFileURL, sTitle)
폼(Form)의 Method중 PostLinkData의 기능을 설명해줘
연결정보를 발생한다 (OnLinkData 이벤트 발생)\n- sKey: 키값\n- sValue: 데이터
폼(Form)의 Method중 PostLinkData의 예제를 알려줘
PostLinkData(sKey, sValue)
폼(Form)의 Method중 StrTrim의 기능을 설명해줘
문자열의 앞뒤 공백을 제거한다
폼(Form)의 Method중 StrTrim의 예제를 알려줘
StrTrim
폼(Form)의 Method중 GetIntrGroupCount의 기능을 설명해줘
관심그룹 개수 리턴
폼(Form)의 Method중 GetIntrGroupCount의 예제를 알려줘
GetIntrGroupCount()
폼(Form)의 Method중 GetIntrGroupInfo의 기능을 설명해줘
관심 아이템 개수 리턴 (그룹키와 그룹명 리턴)\n- nIndex: 관심인덱스
폼(Form)의 Method중 GetIntrGroupInfo의 예제를 알려줘
GetIntrGroupInfo(nIndex)
폼(Form)의 Method중 GetIntrItemCount의 기능을 설명해줘
관심 아이템 개수 리턴\n- szGroupKey: 관심그룹 인덱스
폼(Form)의 Method중 GetIntrItemCount의 예제를 알려줘
GetIntrItemCount(szGroupKey)
폼(Form)의 Method중 GetIntrItemInfo의 기능을 설명해줘
관심그룹의 관심 코드 정보 리턴 (시장구분과 종목코드 리턴)\n- szGroupKey: 그룹키\n- nIndex: 아이템 인덱스
폼(Form)의 Method중 GetIntrItemInfo의 예제를 알려줘
GetIntrItemInfo(szGroupKey, nIndex)
폼(Form)의 Method중 GetGwansimItem의 기능을 설명해줘
HTS ID를 얻어 온다 (고객일 경우)\n- nType: 1:인덱스증가 2:인덱스감소\n- sMarketType: 마켓 구분
폼(Form)의 Method중 GetGwansimItem의 예제를 알려줘
GetGwansimItem(nType, sMarketType)
폼(Form)의 Method중 GetAuthCodeRequest의 기능을 설명해줘
공인인증 인증번호 요청\n- sJuminNum: 주민등록 번호
폼(Form)의 Method중 GetAuthCodeRequest의 예제를 알려줘
GetAuthCodeRequest(sJuminNum)
폼(Form)의 Method중 GetCertListSize의 기능을 설명해줘
공인인증 리스트 카운트 리턴
폼(Form)의 Method중 GetCertListSize의 예제를 알려줘
GetCertListSize()
폼(Form)의 Method중 GetCertListDataAt의 기능을 설명해줘
공인인증 리스트 리턴
폼(Form)의 Method중 GetCertListDataAt의 예제를 알려줘
GetCertListDataAt(nIndex)
폼(Form)의 Method중 GetCertPath의 기능을 설명해줘
공인인증 비밀번호 변경에 관한 경로 리턴\n- sSubjectDN: DN번호
폼(Form)의 Method중 GetCertPath의 예제를 알려줘
GetCertPath(sSubjectDN)
폼(Form)의 Method중 ChangeCertPwd의 기능을 설명해줘
공인인증 비밀번호 변경\n- sPaths: GetCertpath로 얻은 경로\n- sPasswordBefore: 기존 비밀번호\n- sPasswordNew: 신규 비밀번호
폼(Form)의 Method중 ChangeCertPwd의 예제를 알려줘
ChangeCertPwd(sPaths, sPasswordBefore, sPasswordNew)
폼(Form)의 Method중 DeleteCert의 기능을 설명해줘
공인인증서 삭제\n- sSubjectDN: DN번호
폼(Form)의 Method중 DeleteCert의 예제를 알려줘
DeleteCert(sSubjectDN)
폼(Form)의 Method중 CheckCertPwdWithDN의 기능을 설명해줘
공인인증 비밀번호 확인\n- sDn: DN값\n- sJuminNum: 주민번호\n- sInputPW: 비밀번호