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#
  4. DataGridView Focus

DataGridView Focus

Scheduled Pinned Locked Moved C#
questionworkspace
1 Posts 1 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
    Drew McGhie
    wrote on last edited by
    #1

    Firstly, let me set up the semi-complicated setup on my form. Inside the form, I have a tab control. In each tab page, I have placed a separate user control. Inside the user control in question, there are three group boxes that each contain a data-bound datagridview. Upon entering any of the dgvs, the usercontrol scrolls such that the top of the datagrid occupies the top of the tabpage (except for the bottom one, then it scrolls down so the bottom of that datagrid is at the bottom of the usercontrol). From what I gather, the form is attempting to ensure that the selected datagrid is completely in view to the user. This is confusing the end-user, and I'm looking for a way to have the scrolling of the usercontrol not happen automatically. Can anyone point me in the right direction, or give me some advice on how I should handle this?

    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