Editing the List of Names
Task :
The previous program allowed the user to move backwards and forwards through a list of names. This should now be adapted so that the user may edit or delete the current name or even delete all the list.
Note : All of the handler functions may be placed in the Document . The advantage of this is that the functions are then only defined once and not both in the Form View and the Standard View. Toolbar buttons may also be added to the program - these should simply be given the same ID as the equivalent functions (and not defined twice!).
Instructions :
- Attach the Edit, Remove and Remove All buttons to the FormView / Toolbar.
- Write the code to Edit current names. A dialog box should be designed as the user interface.
- Write the code to Remove current names and to Remove all of the names in the list.
Help :
The MSDN library again is the recommended source of help.
Click here for a worked example
Click here for the source code
Click here to return to menu