The FileSelector Object: 3.9 File Selector Instance Data: Resetting a Filter

Up: GEOS SDK TechDocs | Up | Prev: 3.8 Searching Via Callback Routine | Next: 4 File Selector Use

Once a filter is set (such as a filename mask or a file attribute match/mismatch filter), you may wish to delete the filter. To remove a filter designated by a flag in an instance field, simply clear the flag with the appropriate message.

If the filter is applied via a variable data field, however, you will have to use MSG_META_DELETE_VARDATA . This message is detailed in MetaClass and must be passed the name of the variable data field to be removed. Removal of the field equates to removal of the filter.


Up: GEOS SDK TechDocs | Up | Prev: 3.8 Searching Via Callback Routine | Next: 4 File Selector Use