Spenhouet Posted June 4, 2012 Posted June 4, 2012 Hi Forum In the Koda Form Designer the Updown Button only works for an Inputbox. I want to move things up and down in a listbox to sort it manually, but i can't get this done. Is there any solution? thx Spen
Zedna Posted June 4, 2012 Posted June 4, 2012 (edited) Use ScrollBar control for this. EDIT: Or use two buttons with images arrow up/down Edited June 4, 2012 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Spenhouet Posted June 4, 2012 Author Posted June 4, 2012 Thx for your quick reply.Use ScrollBar control for this.ScrollBar control? Can you detail it?EDIT: Or use two buttons with images arrow up/downYou mean a button with picture in it?
Zedna Posted June 4, 2012 Posted June 4, 2012 ScrollBar control? Can you detail it? Look at #Include <GuiScrollBars.au3> _GUIScrollBars_ShowScrollBar($hWnd, $nBar[, $fShow = True]) But this isn't simple for beginners. You mean a button with picture in it? Yes. This will be very simple solution. Resources UDF ResourcesEx UDF AutoIt Forum Search
Spenhouet Posted June 4, 2012 Author Posted June 4, 2012 #Include <GuiScrollBars.au3> _GUIScrollBars_ShowScrollBar($hWnd, $nBar[, $fShow = True]) Won't work. Alway fails at $nBar. ($SB_BOTH, $SB_CTL, $hWnd, $SB_HORZ, $SB_VERT) A button with a picture in it isn't a neat solution. Is it possible to sort it with drag and drop?
Zedna Posted June 4, 2012 Posted June 4, 2012 Is it possible to sort it with drag and drop?Your search button is broken?... Spenhouet 1 Resources UDF ResourcesEx UDF AutoIt Forum Search
Spenhouet Posted June 5, 2012 Author Posted June 5, 2012 Thx to Melba I used this:to solve my problem
Zedna Posted June 5, 2012 Posted June 5, 2012 Thx to Melba I used this:to solve my problem It's ListView and not ListBox. It's diferent kind (ClassName) of control with diferent functionality.This thread was up to now about ListBox.Anyway if you are satisfied with it then no problem. Resources UDF ResourcesEx UDF AutoIt Forum Search
Spenhouet Posted June 5, 2012 Author Posted June 5, 2012 It's ListView and not ListBox. It's diferent kind (ClassName) of control with diferent functionality.This thread was up to now about ListBox.Anyway if you are satisfied with it then no problem.Year, you are right.First i used listbox but then i switched to listview
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