how can i turn my listbox to resort able by dragging and dropping in vb.net…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since user-defined sorting is not an inherent feature of a listbox, you would need to add controls and wire up the events to do this yourself.
Also make sure that the auto-sort property is not set.
Normally people expect a listbox to be sorted alphanumerically by the list contents. That makes finding the value you want much easier.
If you want to show multiple data values to the user and allow them to sort by any of them, you’re looking for a datagrid, not a listbox. Grids support sorting, paging, etc.