InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / RwinDefinedEvent Event


In This Topic
    RwinDefinedEvent Event (IIbmScreen)
    In This Topic
    This event is triggered when an event defined by the DefineEvent method occurs. Events defined in this way remain defined as long as your InfoConnect session lasts, or until they are removed using the RemoveEvent.
    Syntax
    'Declaration
     
    
    Event RwinDefinedEvent As RwinDefinedEventHandler
    'Usage
     
    
    Dim instance As IIbmScreen
    Dim handler As RwinDefinedEventHandler
     
    AddHandler instance.RwinDefinedEvent, handler
    event RwinDefinedEventHandler RwinDefinedEvent
    Event Data

    The event handler receives an argument of type RwinDefinedEventArgs containing data related to this event. The following RwinDefinedEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the column location for screen events.  
    Gets the EventNumber, the integer value used as an identifier for this event. If the value is set to 0, a value is automatically assigned.  
    Get the event type being defined.  
    Gets the row location for screen events.  
    Gets the StringParam, which specifies the string that defines string-oriented events. This argument is only relevant when the value you use for EventType requires a string. That is, when EventType is DefinedEventType_DisplayString, DefinedEventType_TimeOfDay, or DefinedEventType_TimeElapsed.  
    See Also