CMD-TABCHANGED (value 7)

This event occurs when the user selects a new tab from a TAB control. The value of the selected tab is in EVENT-DATA-1. Unlike most events, this one performs any validation specified in the ACCEPT, and the current field's AFTER procedure is executed rather than its EXCEPTION procedure. This event ensures that the user cannot use the TAB control to leave a form when it contains invalid data. EVENT-DATA-2 is not used