콤보박스의 정보를 remark에 있는 class형태로 반환 하는 API이다.
Type | Description |
---|---|
class | 콤보박스 정보 |
// 콤보박스 정보 classComboboxInfo = function() { this.strdelimiter = ":"; this.strpicklist = ""; this.nselectstyle = 0; this.nviewstyle = 1; this.ncomboboxstyle = 0; // 콤보박스 아이템에 대한 정보(classComboboxItem형태)를 담고 있는 Array this.arrcomboitems = new Array(); } // 콤보 박스 리스트의 아이템 하나에 대한 정보 classComboboxItem = function() { this.bhidden = false; this.strcode = ""; this.strcomment = ""; }
function btnCombo_on_mouseup(objInst)
{
var classComboInfo = cb.getcomboboxinfo();
factory.consoleprint("** delimiter : " + classComboInfo.strdelimiter);
factory.consoleprint("** picklist : " + classComboInfo.strpicklist);
factory.consoleprint("** selectStyle : " + classComboInfo.nselectstyle);
factory.consoleprint("** viewStyle : " + classComboInfo.nviewstyle);
factory.consoleprint("** combobox Style : " + classComboInfo.ncomboboxstyle);
factory.consoleprint("** combobox list data **");
var strShow = "";
for(var nItem = 0;nItem < classComboInfo.arrcomboitems.length;nItem++) {
var classComboItem = classComboInfo.arrcomboitems[nItem];
if(classComboItem == null) {
continue;
}
// show/hide
strShow = classComboItem.bhidden ? "(hiddenitem)" : "(showitem)";
factory.consoleprint(classComboItem.strcode + classComboInfo.strdelimiter + classComboItem.strcomment + strShow);
}
}