Step 3 Test the Transfer Section to Department Command Handler

VLF Windows Application Development

Step 3. Test the Transfer Section to Department Command Handler

VFW110 – Simple Drag and Drop

1.  Execute the Framework as a Designer.

2.  Open the properties dialog for the _Departments business object.

3.  Select the Commands Enabled tab. Select the Transfers action and plug in the command handler, iiiVFW34.

4.  Save and restart the Framework.

5.  Select the Transfer command handler for a department. The departments AUD and FLT usually have fewer sections than ADM, so select one of these.

6.  Test the drag and drop application with the following steps.

a.  Drag a section from the drag from list, which exists in the drag to list. Click the Save button and confirm that the transfer is rejected with an error message. The new entry should be removed from the drag to list.

b.  Drag a section which does not already exist into the drag to list and click the Save button. A message should confirm the transfer and the entry should be removed from the drag from list.

c.  Drag two sections to the drag to list, one of which does not already exist in the current department. Click the Save button. Confirm that only the new section remains in the drag to list, a transfer message is issued and the rejected transfer section remains in the drag from list.