Click or drag to resize

DataWindow.GoTop Method (Typed)

X#
Position the data server connected to this data window on the first logical record and update the window based on the change.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD GoTop() AS LOGIC
Request Example View Source

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
When executed successfully, the data server sends a NotifyGoTop message to all of its clients, including this data window. DataWindow:GoTop() can fail for many reasons, from a lack of capability in the server to lock conflicts to technical problems, such as network crashes. Use the DataServer:Status property to determine the exact cause of the failure. Note also that DataWindow:GoTop(), like all repositioning operations, is subject to validation—if the current data in the window fails validation, it cannot be written out and the move is refused.
See Also