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

Adding an object to the keyboard path in ESP.



Q. I've got a Generic object in ESP and I want it to be in the
   keyboard search path. I've defined the genAttributes like so:

      genAttributes = default +targetable, +kbdPath;

   But it's not compiling, saying that this is a syntax error.

A. kbdPath is a keyword in UIC, so you can't use it as the name of an
   attribute. The syntax for kbdPath is as follows:

      class GenViewControl = GenControl, kbdPath {
          .
          .
          .
      }

   This allows UIC to set the GA_KBD_SEARCH_PATH bit on all objects
   up the generic tree.