I am unable to insert a checkbox using DwtCheckbox class and am not sure how to do that. If someone could explain how to do that or just write an example code.
Thank you.
I am unable to insert a checkbox using DwtCheckbox class and am not sure how to do that. If someone could explain how to do that or just write an example code.
Thank you.
This is the code that treat as view params in zmdialog
Code:var container = new DwtListView({parent:this.getShell(),noMaximize:false}); container.setSize("250", "150"); container.setScrollStyle(Dwt.SCROLL); container.setPosition(DwtControl.RELATIVE_STYLE); var view1 = new DwtComposite(container); view1.setSize("250", "100"); view1.getHtmlElement().style.overflow = "auto"; view1.getHtmlElement().innerHTML = this._createSendDialogView(); this.check = new DwtCheckbox({parent:container, name:"approverSendEmaildialog_check", checked:true, posStyle:Dwt.RELATIVE_STYLE, id:"approverSendEmaildialog_check", index:1 }); this.check.setText(locale_text_approverSendEmaildialog_check_value[this.localeId]); this.check.setEnabled(false);
There are currently 1 users browsing this thread. (0 members and 1 guests)