InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / LightPen Method
Specifies a row in the host screen.
Specifies a column in the host screen.


In This Topic
    LightPen Method
    In This Topic
    Simulates a light pen selection at the specified location in the terminal window.
    Syntax
    'Declaration
     
    
    Sub LightPen( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) 
    'Usage
     
    
    Dim instance As IIbmScreen
    Dim row As Integer
    Dim column As Integer
     
    instance.LightPen(row, column)
    void LightPen( 
       int row,
       int column
    )

    Parameters

    row
    Specifies a row in the host screen.
    column
    Specifies a column in the host screen.
    Exceptions
    ExceptionDescription
    This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
    Remarks
    This method is available only during 3270 sessions.
    See Also