Search results for query: *

  1. S

    main exception doesn't work outside IDE

    Hi All, I have a problem with a "try catch" code in my program: In the main module I have inserted this code: Try Application.EnableVisualStyles() Application.VisualStyleState = VisualStyles.VisualStyleState.ClientAndNonClientAreasEnabled Application.Run(New frmMovieDatabase)...
  2. S

    Question Listview TopItem Alternatives with Groups

    Hi all, In a function called up the PageUP and PageDown keys, in the presence of a grouping, I need to scroll the items of a listview positioning the first item of the group as the first element of the listview. I saw that the "TopItem" property works only in the absence of groups. I tried this...
  3. S

    Question Listview Item Color

    Right, I had not thought about it. I'm not used to writing a lot of code (as in this case) and I would have optimized it all at a later time Thank You.
  4. S

    Question Listview Item Color

    I have the same problem. I have solved with this code, but I read all listview items (excluding all those who have a different group). Dim itemBackColor = Color.FromArgb(255, 240, 240, 240) For Each group As ListViewGroup In lvFilmDetail.Groups For Each item As...
  5. S

    Question Listview Item Color

    Hi, testing your code, I noticed that I had a problem with the sortview of the listview. My listview contains a list of films grouped by initial title and there are 4 columns: title, rating, year and duration.Clicking on the columns should cause sorting in this way: Group (Descending) -> Title...
  6. S

    Question Listview Item Color

    Hi All, I need your help: i need to change background color of listview items after created it. Specifically: when creating the listview I colored the lines alternately with two different colors (two different shades of gray). Clicking on the column header reorder the rows according to a...
Back
Top