Step 4. Create the Employee Image Command Handler
VFW080 – Using an Explorer Component
1. Create a new
:iiiVFW16
Employee Image CH
Make the Panel size approximately 350 and 500.
2. Give iiiVFW16 an ancestor of VF_AC010.
3. In the
view, from the ribbon, give the form an :4. Drop a Panel onto the right hand side. And change its BUTTON_PANEL. Adjust its to allow buttons to be added.
to5. Drop a Panel onto the center of the form and change its IMAGE_PANEL.
to6. Select the BUTTON_PANEL and add a
manager.7. Drop two push buttons onto the BUTTON_PANEL.
8. With the BUTTON_PANEL selected, use the All settings to position the buttons approximately in the middle of the panel horizontally. The setting required will depend on the of your BUTTON_PANEL. 12 pixels should be about correct.
tab to set . Use the
9. Set up two
properties:
Property |
Value for the first push button |
Value for the second push button |
Name |
PHBN_SAVE | Find |
Caption |
Save | PHBN_FIND |
a. Create a Click event for the button.
b. Create a Click event for the button.
10. Save your reusable part.
11. Drop a Employee Image.
into the center of the IMAGE_PANEL. Resize it and change its to12. Drop an
component into the center of the and resize it to fill the Group Box.Your design should now look like the following:
13. Save your reusable part.