InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / HostField Class / StartPosition Property
Example


In This Topic
    StartPosition Property (HostField)
    In This Topic
    Gets the column and row coordinates of this field.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property StartPosition As ScreenPoint
    'Usage
     
    
    Dim instance As HostField
    Dim value As ScreenPoint
     
    value = instance.StartPosition
    public ScreenPoint StartPosition {get;}
    Example
    HostField host;
    ScreenPoint point;
                
    //Get the screen position (row , column)
    point = host.StartPosition;
                
    int row = point.Row;//Get the row location.
    int column = point.Column;//Get the column location.
    See Also