Tag Archives: Autoscroll

Autoscrolling listboxes in AutoIt

To add autoscroll functionality to listboxes in AutoIt add this Include:

#include <GuiListBox.au3>

Add a function, call it for example _AutoScroll:

Func _AutoScroll()
_GUICtrlListBox_SetTopIndex($ListName, _GUICtrlListBox_GetListBoxInfo($ListName) – 1) ; Autoscroll to end of ListBox !
EndFunc ;==>_AutoScroll

Then, each time you write to the listbox add a call to
_AutoScroll()