Using the Exapnd event to call the SelectShippers


Calling the SelectShippers controller is done by configuring the Expand event of the column on the view:

  1. Park on the Shipper column in the ShowOrders controller and press F4 to display its properties
  2. Go to the Events tab of the properties and look for the Expand event. Double click it will create a method in the code begind the view.
  3. In this method call the SelectShippers controller, sending it the appropriate parameter

The code behind the view will look like this:

private void txtShipVia_Expand()
{
    new SelectShippers().Run(_controller.Orders.ShipVia);
} 

Once an _Expand event is defined, a Zoom indication will be shown in the status bar, allowing you to either press F5, double click on the column or click the Zoom indication to call the SelectShippers controller.


Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com