ApproxCount Property (TDBCombo)
object.ApproxCount= long
Read/Write at run time. Not available at design time.
Property applies to TDBList and TDBCombo controls.
This property sets or returns the approximate row count used by the control to calibrate the vertical scroll bar.
Typically, the ApproxCount property is used in unbound mode to improve the accuracy of the vertical scroll bar. This is particularly useful for situations where the number of rows is known in advance, such as when an unbound control is used in conjunction with an array.
Note: For a bound control, setting the ApproxCount property has no effect. However, getting the ApproxCount property will query the underlying data source.
See Also