sheetChg

sheetChg(control: control-type input);

The sheetChg event occurs when the user clicks on the tab of a sheet that is not currently the top sheet of a Folder or Table control, to enable that sheet to become visible. (The click, mouseLeave, and the sheetChg events are generated when the user clicks the tab of a sheet that is not currently the top sheet or the Ctrl+Page Up or Ctrl+Page Down shortcut keys are used to move the focus of a folder to the prior or next enabled visible sheet when that folder or a child of the folder has focus.)

For a Folder control, see also the isMySheetVisible and showMySheet properties.

For a Table control, the sheet that is clicked is reflected in the topSheet property.