wictro Posted February 2, 2008 Posted February 2, 2008 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
covaks Posted February 2, 2008 Posted February 2, 2008 (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 February 2, 2008 by covaks
wictro Posted February 2, 2008 Author Posted February 2, 2008 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now