ComponentOne List 8.0 for ActiveX
Handling the ClassicRead Event in Mode 3

In application mode, the list uses the UnboundGetRelativeBookmark event to determine the bookmark of the row it is about to display. To determine the contents of an individual cell, the list passes a known bookmark and a column index to the ClassicRead event, which has the following syntax:

Example Title
Copy Code
Private Sub TDBList1_ClassicRead(Bookmark As Variant, _

        ByVal Col As Integer, Value As Variant)

Bookmark is a bookmark which specifies the row of the desired data.

Col is a value which specifies the column index of data to be retrieved.

Value is a variable used to return the data corresponding to the cell location identified by Bookmark and Col.

Before returning from this event, you must set Value to the actual data, or else the list will display an empty cell. Note that Value need not contain a string. It can also hold numeric, Boolean, or date data, and the list will convert it to a string automatically, just as it does with such data types in bound mode.

 

 


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

Product Support Forum  |  Documentation Feedback