Jump to content

Recommended Posts

Posted

I have made a bot that controls another software, and i added a info-window to the bot-GUI

the problem is as i do:

For $loop = 20 to 1 Step -1

_GUICtrlListView_AddItem ($liststatus, "Event 1", 0)

Next

now when the window gets full, a scrollbar appears, and the new events go to the part unseen.

How could i get the new events to appear in visible part or viewwindow (preferably top row)

thanks,

wic

Posted (edited)

Try using InsertItem instead, and just insert to the first row of the listview:

For $loop = 0 to 20
_GUICtrlListView_InsertItem ($liststatus, "Event " & $loop, 0, 0)
Next
Edited by covaks
Posted

Try using InsertItem instead, and just insert to the first row of the listview:

For $loop = 0 to 20
_GUICtrlListView_InsertItem ($liststatus, "Event " & $loop, 0, 0)
Next
thanks! this sure makes my debugging a lot easier!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...