Hello Isomorphic ,
in the code below the tabSelected event fires just after the creation. Although no tab was selected. I need the event to fire only when the user actually selects a tab.
How can it be avoided that the tabSelected event fires just after creating the tabSet?
Using SmartClient_v82p_2012-07-09
Greetings Thomas
in the code below the tabSelected event fires just after the creation. Although no tab was selected. I need the event to fire only when the user actually selects a tab.
How can it be avoided that the tabSelected event fires just after creating the tabSet?
Using SmartClient_v82p_2012-07-09
Greetings Thomas
Code:
isc.TabSet.create(
{
"ID":"tabSet_3",
"tabSelected":function (p1, p2, p3, p4) {alert("Tab selected")},
"width":800,
"height":400,
"tabs":
[
{
"title":"First Tab",
pane:isc.Canvas.create(
{
"contents":"Contents of first Tab"
}
)
},
{
"title":"Second Tab",
pane:isc.Canvas.create(
{
"contents":"Contents of second Tab"
}
)
}
]
}
);
Comment