Important: The information in this document is obsolete and should not be used for new development.
TextServiceEvent
TheTextServiceEventfunction routes an event to a specified text service component.
FUNCTION TextServiceEvent (ts: ComponentInstance; numOfEvents: Integer; VAR event: EventRecord): ComponentResult;
ts- A component instance created by a prior call to the Component Manager
OpenComponentfunction.numOfEvents- The number of events being passed.
event- The Event Manager event record (defined by the
EventRecorddata type) for the event being passed.DESCRIPTION
If the text service component handles the event, it should return a nonzero value forcomponentResultand it should change the event to a null event. If it does not handle the event, it should return 0.