Translate page

Cursor.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#
public StatusCode Set(
	ScreenPosition position
)
Visual Basic (Declaration)
Public Function Set ( _
	position As ScreenPosition _
) As StatusCode
Visual C++
public:
virtual StatusCode Set(
	ScreenPosition position
) sealed
JavaScript
function Set(position);

Parameters

position Type: JollyGiant.Emulation..::.ScreenPositionNew 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.

Implements

ICursor..::.Set(ScreenPosition)

See Also

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.