ComponentOne True DataControl 8.0
Bookmark Property

 

Bookmark Property

This property returns or sets a bookmark for the specified row within a RowBuffer object.

Syntax

rowbuffer.Bookmark(Row) = variant

Remarks

Read/Write at run time. Not available at design time. Property applies to RowBuffer object.

This property returns or sets a bookmark for the specified row within a RowBuffer object that is passed to an event handler for a TData control in user events mode (its DataMode property is set to 2 - User Events).

The Row argument is a long integer specifying the row where the bookmark is placed. The range of this argument can be from 0 to RowCount - 1.

In user events mode, a bookmark contains a user-defined value that uniquely identifies each row of data.

In the UserReadData and UserAddData events, your code must provide bookmarks for the rows being fetched or added. In the UserWriteData and UserDeleteRow events, the TData control passes one of these bookmarks as a parameter so your code can take the appropriate action.

See Also

RowBuffer Object

 

 


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

Product Support Forum  |  Documentation Feedback