Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. sugestion requested for displaying of information

sugestion requested for displaying of information

Scheduled Pinned Locked Moved Visual Basic
tutorialcsharpgame-devregex
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    droolin
    wrote on last edited by
    #1

    I am currently developing an application for displaying history/statistics of a persons bowling games. I also am very new to vb.net, but have coded in a number of languages through out my IT carrier. What I am looking for is a suggestion on how to display multiple lines in a list box type of control for every history event there is. Example> "Date Bowled" "Name of Place Bowled" "Name of League" "Game Number" "Score of Game" "Lane # Bowled On" "Oil Pattern on lane" "Oil condition on lane" "Ball Used" "Surface of Ball" What I listed above would be 2 lines of information for every game played. This is a history listing, so there would be 1 to many of this information displayed. I looked at examples of groups in list view, but I don't think that would do it. And I just am not proficient enough in the various controls you can use on a form to know which would be the best for this type of displaying information. Any and all help is always appreciated. Thank you in advance. Dan

    D 1 Reply Last reply
    0
    • D droolin

      I am currently developing an application for displaying history/statistics of a persons bowling games. I also am very new to vb.net, but have coded in a number of languages through out my IT carrier. What I am looking for is a suggestion on how to display multiple lines in a list box type of control for every history event there is. Example> "Date Bowled" "Name of Place Bowled" "Name of League" "Game Number" "Score of Game" "Lane # Bowled On" "Oil Pattern on lane" "Oil condition on lane" "Ball Used" "Surface of Ball" What I listed above would be 2 lines of information for every game played. This is a history listing, so there would be 1 to many of this information displayed. I looked at examples of groups in list view, but I don't think that would do it. And I just am not proficient enough in the various controls you can use on a form to know which would be the best for this type of displaying information. Any and all help is always appreciated. Thank you in advance. Dan

      D Offline
      D Offline
      DaveAuld
      wrote on last edited by
      #2

      I think you would be able to use a listview control, there are probably a couple of ways you could do this; 1) Use listview, and set alternate row styles so the first start row of a row pair is bold or something 2) Use listview, and split the data into 2 rows as above and assign each row pair to a unique GroupID and then use grouping 3) Use listview, and only have 1 row of data with each column containing 2 parts of the data, e.g. DateBowled and Lane# would appear in the same cell. I think you can force a wrap by injecting a CRLF into the combined string. (would need to try this as i haven't do that before). 4) Create a new class that inherits from Panel and has all the data for each game in the relevant other controls within, e.g. text boxes, then for each row add this new class to a parent container e.g. flowlayout 5) Use a DataRepeater control from the VisualBasic PowerPack Probably other ways also, but thats a starter for you to think about.

      Dave Don't forget to rate messages!
      Find Me On: Web|Facebook|Twitter|LinkedIn
      Waving? dave.m.auld[at]googlewave.com

      D 1 Reply Last reply
      0
      • D DaveAuld

        I think you would be able to use a listview control, there are probably a couple of ways you could do this; 1) Use listview, and set alternate row styles so the first start row of a row pair is bold or something 2) Use listview, and split the data into 2 rows as above and assign each row pair to a unique GroupID and then use grouping 3) Use listview, and only have 1 row of data with each column containing 2 parts of the data, e.g. DateBowled and Lane# would appear in the same cell. I think you can force a wrap by injecting a CRLF into the combined string. (would need to try this as i haven't do that before). 4) Create a new class that inherits from Panel and has all the data for each game in the relevant other controls within, e.g. text boxes, then for each row add this new class to a parent container e.g. flowlayout 5) Use a DataRepeater control from the VisualBasic PowerPack Probably other ways also, but thats a starter for you to think about.

        Dave Don't forget to rate messages!
        Find Me On: Web|Facebook|Twitter|LinkedIn
        Waving? dave.m.auld[at]googlewave.com

        D Offline
        D Offline
        droolin
        wrote on last edited by
        #3

        I never thought about doing a line break character. Funny, I have used that same logic when coding in vbscript. The idea of the grouping I thought about, I just had the feeling it would um... klunky??? Use up alot of form retail space? I thought about just using two physical rows for every line of detail history, with a blank row between them. Still kicking that around in the back of my head. Chuckle, to make this even more complicated. I plan on allowing them to select what they wish to see in the detail history. So, this will be a dynamic build of the view with regard to what is shown and what isn't. I think I'm going to just play with the different ways, to see what appears to work best. Thank you for your feed back, it gives me more to think about. And try to see what looks the best. Dan

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups