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. difficult to handle datagridview with keyboard

difficult to handle datagridview with keyboard

Scheduled Pinned Locked Moved Visual Basic
help
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.
  • E Offline
    E Offline
    eyes2007
    wrote on last edited by
    #1

    hi all, as per my projects needs i am using checklistbox. now the requirement is to multiselect the items of checklistbox with shift or control key pressed, which is not possible with this control. now i try to use the datagridview control as checklistbox. - i hide the column header and row header - the first column is datagridviewcheckboxcolumn - the second column is datagridviewtextboxcolumn for MOUSE handling - i write my code on datagridview_cellclick event (that works perfectly as per need) for KEYBOARED handling - i write the same code on datagridview_cellvaluechanged event ( their the problem is ) when i check the checkbox, i need to change the other controls value accordingly. but the event fires when selection changed. - i also try datagridview_selectionchange event but in that case i have to change the selection to get the values get change does some one have any kind of idea to solve that problem. thanks in advance help everyone

    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