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. C / C++ / MFC
  4. DBGrid replacement?

DBGrid replacement?

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
4 Posts 3 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.
  • S Offline
    S Offline
    snavece
    wrote on last edited by
    #1

    I have an MFC C++ desktop application (unmanaged code)that still uses DBGrid. What control would be a good replacement. I am displaying record sets in the control, fixing the number of rows in the control and range checking each cell value when leaving the cells. Vertical scrolling may be necessary. Thanks for your input

    Clayton

    D 1 Reply Last reply
    0
    • S snavece

      I have an MFC C++ desktop application (unmanaged code)that still uses DBGrid. What control would be a good replacement. I am displaying record sets in the control, fixing the number of rows in the control and range checking each cell value when leaving the cells. Vertical scrolling may be necessary. Thanks for your input

      Clayton

      D Offline
      D Offline
      dan g 0
      wrote on last edited by
      #2

      Is there something specific that DBGrid (I'm not familiar with it) doesn't give you, or is it looking dated, or ...?

      .dan.g. AbstractSpoon Software
      email: abstractspoon2(at)optusnet(dot)com(dot)au

      S 1 Reply Last reply
      0
      • D dan g 0

        Is there something specific that DBGrid (I'm not familiar with it) doesn't give you, or is it looking dated, or ...?

        .dan.g. AbstractSpoon Software
        email: abstractspoon2(at)optusnet(dot)com(dot)au

        S Offline
        S Offline
        snavece
        wrote on last edited by
        #3

        DBGrid is dated. I have a number of annoyances with it, I have listed some of my issues below. Documentation is scarce. It is not well supported in VS2012. One can crash VS2012 by editing through the Property Pages dialog (try setting the headfont to bold). Trying to provide error checking on a cell basis when leaving a cell seems dependent on what method you chose to leave the cell(Tab key versus arrow key). It is slow to fill from a database. The necessity to change rows before an update is done to the data.

        Clayton

        L 1 Reply Last reply
        0
        • S snavece

          DBGrid is dated. I have a number of annoyances with it, I have listed some of my issues below. Documentation is scarce. It is not well supported in VS2012. One can crash VS2012 by editing through the Property Pages dialog (try setting the headfont to bold). Trying to provide error checking on a cell basis when leaving a cell seems dependent on what method you chose to leave the cell(Tab key versus arrow key). It is slow to fill from a database. The necessity to change rows before an update is done to the data.

          Clayton

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Take a look at Our Great Leader's articles[^], he has a number of grid controls.

          Veni, vidi, abiit domum

          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