Advanced avSwitch Examples

Visual LANSA Framework

Advanced avSwitch Examples 

In the shipped Programming Techniques application Switching, command handler DF_DET17 displays the employees that work in the currently selected section:

You can select employee(s) from the displayed list and switch over to show their details by clicking the Show Details button.  The display of the selected employee(s) details is achieved by using the avSwitch method. Please refer to the source code of DF_DET17 for a complete explanation of how the avSwitch method is used.