SYS(2910) - List Display Count

Sets or returns the number of items to display in drop-down list boxes.

SYS(2910 [, nValue])

Parameters

  • nValue
    The nValue parameter determines how many items appear visible in a drop-down list box. This includes drop-down list boxes for AutoComplete, IntelliSense, Method Editor drop-down list boxes, Properties Window object drop-down list boxes, etc.

    The range for nValue is 5 to 200. The default value is 15.

    Omitting nValue returns the current setting.

Return Value

Character. The current drop-down list box display count is returned as a character string.

Remarks

At design-time, the display count value is stored in the registry when you choose the Set As Default button in the Options Dialog Box (Visual FoxPro), and is restored the next time you run Visual FoxPro. Setting a value with this function does not write the value to the registry unless you choose the Set As Default button in Options dialog box.

See Also

Reference

Options Dialog Box

AutoComplete Property