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

Ignoring input when a list selection is made.



Q. Is it possible to make a GenDynamicList ignore input when a selection
   is made? I tried setting GI_attrs = @default | GA_INITIATES_INPUT_IGNORE
   but it didn't seem to work.

A. That should work. The ignore only lasts for as long as it takes to
   make a trip to the list's output object's event queue and back. The
   exceptions to that rule follow:

   If the GenDynamicList and the GenDynamicList's output object (destination)
   are run by different threads, then GA_INITIATES_INPUT_IGNORE won't work.
   To fix this you need to change the GenDynamicList's destination to be
   some object which is run by the same thread as the GenDynamicList.

   If the GenDynamicList is in a System modal box, it will need
   ATTR_GEN_INTERACTION_ABIDE_BY_INPUT_RESTRICTIONS on it, since modal
   boxes otherwise ignore input restrictions.