<< Return to Main Index

< Return to Class Index

CGXScrollableCurEngine::MoveToPosition

virtual BOOL MoveToPosition(long nRecord, BOOL bSync = TRUE, BOOL bThrowExceptionOnError = FALSE) = 0;

nRecord

Specifies the new cursor position

bSync

TRUE to force synchronization with the underlying data source.

bThrowExceptionOnError

Specify whether an exception should be thrown on error.

Return Value

TRUE if successful, FALSE otherwise

Remarks

Call this function to move the current cursor to the specified record (0 based). The implementation will take care of moving the current cursor position by the right amount based its known existing position.

See Also

CGXScrollableCurEngine::GetCurrentCursorPos

CGXScrollableCurEngine

Class Overview | Class Members