네비바 » Api
insertitemex
Description
네비바의 특정 위치에 아이템을 추가하면서 왼쪽아이콘, 오른쪽아이콘을 설정할 수 있는 API이다.
Parameters
Parameters |
Type |
Description |
nItemIndex |
short |
Insert할 Item Index |
strText |
STRING |
아이템 텍스트 |
strLeftIconURL |
STRING |
왼쪽아이콘 이미지 경로 |
strRightIconURL |
STRING |
오른쪽아이콘 이미지 경로 |
Return Value
Type |
Description |
short |
추가된 아이템 인덱스 |
Remark
*Insert할 Item Index가 유효하지 않은 경우, -1가 리턴된다.
Example
function insertitemex_on_mouseup(objInst)
{
var idx = navi01.insertitemex("Item02", "/btn_navi_left.png", "/btn_navi_right.png");
}
See Also
additem
additemex
insertitem
deleteitem
deleteallitem
getitemcount
Viewer Ver.
9.1.1.1
Update Date
20200617