tabitem_hidden 속성 가이드
탭 tabitem_hidden 속성 예시 화면이다.
tabitem_hidden 속성은 탭 아이템이 표시되는 탭 아이템 영역(tabitemarea) 표시 여부를 설정한다.
관련 속성으로 tabitem_hidden이 있다.
관련 API로 gettabitemhidden, settabitemhidden, gettabitemvisible, settabitemvisible가 있다.
예시
화면 스크립트
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
// "settabitemhidden" 버튼 이벤트 function btn_settabitemhidden_on_click(objInst) { // tabitem_hidden 속성 토글 처리 if ( this .tab.gettabitemhidden() == true ) { this .tab.settabitemhidden( false ); } else { this .tab.settabitemhidden( true ); } } // "settabitemvisible" 버튼 이벤트 function btn_settabitemvisible_on_click(objInst) { // 개별 탭 아이템 표시 토글 처리 if ( this .tab.gettabitemvisible(1) == true ) { this .tab.settabitemvisible(1, false ); } else { this .tab.settabitemvisible(1, true ); } } |