Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To handle the tabfolder ActiveTabChanged event create the ActiveTabChangedHandler method.
Set the SmartBusinessEntityAdapter to Active.
Before that beware to set all other possible SmartBusinessEntityAdapters to Inactive otherwise they will be filled again after changing the row of the primary Browser.
For example:
METHOD PUBLIC VOID ActiveTabChangedHandler (sender AS System.Object, e AS ActiveTabChangedEventArgs):

CustomerBusinessEntityAdapter:SmartDataSourceActive = FALSE.

CASE e:Tab:Key:

WHEN "Customer":U THEN

CustomerBusinessEntityAdapter:SmartDataSourceActive = TRUE .

END CASE.

END METHOD.

...