RC1 Completed UI objects??
Are any of the uncomplete AW.UI objects functional in RC1? Still seems like the examples of say Combobox is not complete? When will these be finished? Just asking.
Tony
February 2,
var status = new AW.UI.Combo;
status.setId("status");
status.onCurrentItemChanged = function(i){
var text = this.getItemText(i);
// **** Added the next line solved it
this.setControlImage(this.getItemImage(i));
this.setControlText(text);
this.hidePopup();
var e = this.getContent("box/text").element();
if (AW.safari) {
e.innerHTML = text;
}
else {
e.value = text;
e.select();
}
e = null;
};
status.setControlText("Online");
status.setControlImage("online");
status.setItemText(["Online", "Offline"]);
status.setItemImage(["online", "offline"]);
status.setItemCount(2);
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021