Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / OnEventEventType Enumeration


In This Topic
    OnEventEventType Enumeration
    In This Topic
    Identifies the event which will trigger the commands specified the Commands argument.
    Syntax
    'Declaration
     
    
    Public Enum OnEventEventType 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As OnEventEventType
    public enum OnEventEventType : System.Enum 
    Members
    MemberDescription
    BeforePrinterClosedDefines an event just before a printer is closed and the print job ends. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    BlockModeEnterThe terminal has entered block mode. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    BlockModeExitThe terminal has exited block mode. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    CommStringDefines an event as the reception of the specified string from the host. Use the String argument to specify the string. Use 1 as the value for Row and Column; these arguments are not relevant for this type of event. Use rcCommString only if you are connecting to your IBM host through a gateway (such as UNIX) that uses streaming mode rather than block mode. (In streaming mode, incoming characters appear on screen in sequence, and existing lines of text scroll out of sight as new lines appear. In block mode, you see complete screen displays, beginning with the logon display screen.) If you are connecting directly to an IBM host, use rcDisplayString.
    DisplayStringThe string specified in the String argument appears on screen.
    EnterFieldThe cursor has entered the field which contains the coordinates specified by the Row and Column arguments. Use an empty string ("") as the value for the String argument; this argument is not relevant for this event type.
    EnterPosThe cursor has entered the position specified by the Row and Column arguments. Use an empty string ("") as the value for the String argument; this argument is not relevant for this type of event.
    EvConnectedA connection has been made to a host. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    EvDisconnectedReflection has disconnected from the host. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    ExitField 
    ExitPosThe cursor has left the position specified by the Row and Column arguments. Use an empty string ("") as the value for the String argument; this argument is not relevant for this type of event.
    LoadSettingsFileA settings file has been loaded. Use the String argument to specify the name and path of the file. Use 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    NewHostScreenDefines an event as a new screen from the host. Use an empty string ("") for the String arguments, and 1 for Row and Column; these arguments are not relevant for this type of event.
    PrinterClosedDefines an event when the printer (or file) is closed and the print job is done. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    PrinterEndOfPageDefines an event when a print page ends. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    PrinterOpenedDefines an event when the printer is opened and the print job has started. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    PrinterStartOfPageDefines an event when a print page starts. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    PrinterStatusStringDefines an event that occurs when the string specified in the String argument is sent to the printer status message box. Matches are case-sensitive. The most commonly seen strings in the printer session’s status box are "Printing", "Printer Error", "Error", "Ready", "Hold", "Connected", "Disconnected", "Command Rejected", "Data Check", "Canceling", "Canceled", "Operation Check", "Host Link Down" and "COMM_CHECK".
    PrinterStringDefines an event that occurs when the string specified in the String argument is sent to the printer. Matches are case-sensitive. Use a 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    PrinterStringReplaceDefines an event that you can use to intercept the printing of one string and replace it with a different string. Matches are case-sensitive. Use the String argument to specify both the search string and the replacement string. Use the Column argument to specify where within the String argument the replacement string begins. Use a 1 as the value for Row; this argument is not relevant for this type of event. If the value of Column is greater than the length of the String, no string replacement will take place. This example shows how to change "Find" to "Replace" .OnEvent 1, rcPrinterStringReplace, "", rcEnable, rcEventReEnable, "FindReplace", 1, 5 Use a 1 as the value for Column, if you want to filter out all occurrences of String (replace the String with null string). This example shows how to remove all occurrences of the string "Remove" from your document: .OnEvent 1, rcPrinterStringReplace, "", rcEnable, rcEventReEnable, "Remove", 1, 1
    ReflectionExitAn Exit command has been executed. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    ReflectionStartReflection has started. Use an empty string ("") as the value of String, and 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    TimeThe specified amount of time has elapsed from when the event was defined. Use the String argument to specify the interval of time in HH:MM:SS format. Use 1 as the value for Row and Column; these arguments are not relevant for this type of event.
    TimeOfDayThe event occurs at the specified time of day. Use the String argument to specify the time of day in HH:MM:SS format using a 24-hour clock (00:00:00-23:59:59). Use 1 as the value for Row and Column; these arguments are not relevant for this type of event
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Attachmate.Reflection.Emulation.IbmHosts.OnEventEventType

    See Also