Language Reference Guide : Events : PageActivated Event
 
Share this page          
PageActivated Event
The PageActivated event is one of the three events that get generated when the user clicks a new tab.
This event has the following syntax:
on pageactivated [tabpagename]
tabpagename is the name of a TabPage that when activated triggers this event loop.
The PrevPageIndex attribute is the index to the previously mapped page.
Usage: The events occur in this order:
1. PageDeactivated Event for the TabPage being mapped out
2. PageChanged Event for the TabFolder
3. PageActivated Event for the TabPage being mapped in
The PageActivated event is the third event in the chain of events triggered by the user selecting a new tab.
More information:
PrevPageIndex Attribute