afterChange

Arguments

oldTabNumberNumber

The tab pane number that currently has focus.

tabNumberString

The target tab number.

Description

Fires after the tab is changed for a Tab Control in the FormView layout.

Discussion

The afterChange event is triggered when the user changes the active tab. Your code can reference oldTabNumber and tabNumber.

Example

var buttons = "o";
var title = "Selected tab changed";
var msg = "<p>You are leaving tab pane " + oldTabNumber + " to view tab pane " + tabNumber+ "</p>";

A5.msgBox.show(title,msg,buttons,function(){});