On 04/07/07, pcourterelle <[EMAIL PROTECTED]> wrote:
Rob, thanks for that...that drove me nuts for a while...what does
SetTopIndex() do if it does ensure the value of the index is visible in the
Listbox? The info says:
SetTopIndex
SetTopIndex(INDEX)
Ensure that a particular item is visible in the Listbox of a Combobox.
Just curious.
It does what it says. You need to understand that the 'Listbox of a
combobox' is the drop-down window that you to select items in; It
makes sure that the item referred to by INDEX is within the visible
window - you'll only notice it do anything if you have enough items in
the listbox such that the drop-down needs to scroll to see some items,
AND the dropdown is visible.
Regards
Rob.