Hi there,
it seems that in smartclient 10.1 the behavior of the toolbar has been changed.
If an element is not visible it was possibel to change an attribute (for example title) of the element.
In Smartclient 10.1 (latest nightly) this is not possible it seems that the title can only be set if the parent is visible.
Is this expected behaviour? We think it should be possible to change the attribute even if it isn't visible.
To find the changes between 10.0 and 10.1 is some hard work for us in our >300 views, because we have to check every view, if we show the toolbar before every title-change.
Could you please activate the old behaviour?
In Smartclient 10.0
In Smartclient 10.1
Code for reproduction:
Bet Regards
it seems that in smartclient 10.1 the behavior of the toolbar has been changed.
If an element is not visible it was possibel to change an attribute (for example title) of the element.
In Smartclient 10.1 (latest nightly) this is not possible it seems that the title can only be set if the parent is visible.
Is this expected behaviour? We think it should be possible to change the attribute even if it isn't visible.
To find the changes between 10.0 and 10.1 is some hard work for us in our >300 views, because we have to check every view, if we show the toolbar before every title-change.
Could you please activate the old behaviour?
In Smartclient 10.0
In Smartclient 10.1
Code for reproduction:
Code:
isc.Button.create({ "ID" : "a", "click" : function () { toolbarButton.setTitle("changed"); }, "title" : "Set Title", }); isc.Button.create({ "ID" : "b", left : 100, "click" : function () { myToolbar.show(); }, "title" : "show toolbar" }); isc.DynamicForm.create({ "ID" : "form", "width" : "100%", top : 50, "numCols" : 2, "values" : { "formField" : "this is a form" }, "fields" : [{ "ID" : "formField", "name" : "formField", "showTitle" : false }, { "ID" : "myToolbar", "name" : "myToolbar", "type" : "toolbar", "width" : 200, "visible" : false, "buttons" : [{ "ID" : "toolbarButton", "click" : function (p1, p2) {}, "name" : "toolbarButton", "type" : "button", } ] } ] });
Comment