네비바의 특정 위치에 아이템을 추가하는 API이다.
Parameters | Type | Description |
---|---|---|
nItemIndex | short | Insert할 Item Index |
strText | STRING | 아이템 텍스트 |
Type | Description |
---|---|
short | 추가된 아이템 인덱스 |
*Insert할 Item Index가 유효하지 않은 경우, -1이 리턴된다.
function insertitem_on_mouseup(objInst)
{
var idx = navi01.insertitem(1, "New Item");
}