ComponentOne List 8.0 for ActiveX
ApproxCount Property (TDBCombo)

 

TDBCombo Reference> TDBCombo Control Properties> ApproxCount Property (TDBCombo)

ApproxCount Property (TDBCombo)

Syntax

object.ApproxCount= long

Remarks

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

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback