PageChanged Event
The PageChanged event is one of the three events that get generated when the user clicks a new tab within a TabFolder.
on pagechanged [tabfoldername]
tabfoldername is the name of a TabFolder, upon which the changing pages activate this event loop.