Translate page

Set_Method

Sets the cursor to the specified screen position.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
StatusCode Set(
	ScreenPosition position
)
Visual Basic (Declaration)
Function Set ( _
	position As ScreenPosition _
) As StatusCode
Visual C++
StatusCode Set(
	ScreenPosition position
)
JavaScript
function Set(position);


Parameters

position
Type: JollyGiant.Emulation..ScreenPosition
New cursor position.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
WHLLOKThe cursor was successfully placed at the specified position.
WHLLNOTCONNECTEDYour application is not currently connected to a session.
WHLLPSBUSYThe session is busy.
WHLLPOSITIONERRORThe specified cursor position is invalid (the row and/or column values are less than 1 or greater than the number of rows or columns on the presentation space).
WHLLSYSERRORThe method failed due to a system error.


See Also


ICursor Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.