ComponentOne True DataControl 8.0
Value Property (RowBuffer)

 

Value Property (RowBuffer)

Array of values passed/returned in the buffer.

Syntax

rowbuffer.Value(Row, Column)= variant

Remarks

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

This property returns or sets the data value for the specified cell within a RowBuffer object passed to an event handler for a TData control in user events mode (with DataMode property set to 2 - User Events).

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

The Column argument is a long integer specifying the column where the value is placed. The range of this argument can be from 0 to ColumnCount - 1.

The Value property represents a two-dimensional array used to transfer data between a RowBuffer object (supplied by the TData control) and your event handlers. In the UserReadData event, your code must use the Value property to provide data values for the rows being fetched. In the UserAddData and UserWriteData events, the Value property conveys the user's changes to your event handlers.

See Also

RowBuffer Object

 

 


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

Product Support Forum  |  Documentation Feedback