Scroll Event (ComboBox)

Purpose

Occurs after a scrollbar event.

Syntax

Sub ComboBox_Scroll()

Description

For a ComboBox control, this event occurs only when the scrollbars in the dropdown portion of the control are manipulated.

Example

Ocx ComboBox cmb = "", 10, 10, 100, 22 : cmb.Sorted = False

Local Int32 n

For n = 1 To 60 : cmb.AddItem "Item" & n : Next n

Do : Sleep : Until Me Is Nothing

 

Sub cmb_Scroll

Message "Scrollbar moved"

EndSub

Known Issues

This event does not seem to work, as shown by the above example.

See Also

ComboBox

{Created by Sjouke Hamstra; Last updated: 22/10/2014 by James Gaite}