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

"Find" button crashes when I handle searching.



Q. When implementing the "Find" trigger in the DocumentControl's
   FileSelector, it always crashes.  What's going on?

A. There is a bug in the handler for MSG_SEARCH which requires
   that an object be at the chunk 002ch in the object resource
   that contains the DocumentControl object.

   The workaround is to manipulate the objects so that an object
   actually does exist in that chunk.  You can use the "objwalk"
   command in Swat (for the handle use that of the DocumentControl
   object) to assist in determining where objects are located in
   the resource.