Article # 552, added by Geoworks, historical record
| first | previous | index | next | last |

How to delete files from GenDocumentControl on OmniGo.




Q. How do I have a "delete" feature in my OmniGo application, so the user
   can delete the highlighted file?

A. The application menu can contain a GenEditControl. Add a "Delete"
   trigger and have it send the message MSG_META_DELETE to the target. The
   target just happens to be the GenDocumentControl while it is on screen.
   It will handle deleting the highlighted file.