Step 6. Plug In and Test the Image Command Handler
VFW080 – Using an Explorer Component
1. Open your Framework.
a. Open the properties
b. Select the tab
c. Select the command handler and plug in the reusable part, iiiVFW16.
d. Save and restart your Framework.
You could use the form to find your own images of any supported type. A suitable set of images is available for these exercises on the web site (see http://www.lansa.com/support/docs/index.htm). Look under the Visual LANSA group for VFW_WAW Workshop – Extra Files.
The zip file contains a folder \PHOTOS which contains 16 small facial images (80 x 90 pixels).
2. Select the tab for an employee. Use the form to locate C:\LANSA\PHOTOS folder. Select an image and click , which should close the form.
3. Click the button on the command handler.
4. Save images for a number of employees and check that images can then be retrieved and displayed when an employee is selected in the Instance list.