ComponentOne True DataControl 8.0
Difference in Handling ApproximatePosition

There is a slight difference in handling the ApproximatePosition argument of the UserReadData event. It has been optimized in True DataControl with respect to True DBGrid 8.0. If ApproximatePosition = -1 is passed to the event procedure, the programmer can skip setting the ApproximatePosition, which is optional anyway. Even if the programmer supplies a value, True DataControl will ignore it.

Also, the programmer can let True DataControl know that ApproximatePosition is unknown, setting it to -1 in the event procedure.

As in True DBGrid 8.0, the ApproximatePosition argument of the UserReadData event is used in conjunction with the ApproxCount property of the TData control.

 

 


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

Product Support Forum  |  Documentation Feedback