ComponentOne List 8.0 for ActiveX
Handling the UnboundGetRelativeBookmark event in mode 1

This event is mandatory when the DataMode property is set to 3 - Application, but optional when it is set to 1 - Unbound. It is not used at all when the DataMode property is set to 2 - Unbound Extended.

In DataMode 1, this event is used in conjunction with the UnboundReadData event when the list needs to obtain positional information about your underlying data. If you are converting an existing project that uses DBGrid or an earlier version of True DBGrid, you can add a handler for this event to dramatically improve the list's performance. However, if you choose to ignore this event, your project will continue to function properly. The syntax for this event is as follows:

Example Title
Copy Code
Private Sub TDBList1_UnboundGetRelativeBookmark( _

        StartLocation As Variant, _

        ByVal Offset As Long, _

        NewLocation As Variant, _

        ApproximatePosition As Long)

For more information on the UnboundGetRelativeBookmark event, see Application Mode.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback