Type | Description | |||
Expression as String | Deletes a wild characters expression being defined by AddWild method. |
You have to be carefully when deleting a wild characters expression. For instance, let's say that we defined the wild expression like follows:
With Edit1 .AddWild ("<b><fgcolor=FF0000>*;</fgcolor></b>") End With
The sample highlights everything that ends with ';'. Use the following sample to delete the wild characters expression:
With Edit1 .DeleteWild "*;" .Refresh End With
Use the ClearWilds method to clear the all wild characters expressions. The Refresh method should be called after DeleteWild method was called to reflect the latest changes.