CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Data Grid

  1. #1
    Join Date
    Aug 2000
    Location
    England
    Posts
    185

    Data Grid

    Hello everyone, I hope someone can help me with this niggling problem.

    I have connected to an Access database which has several pre-defined records which have been created earlier in the program. Each of these records has a field which has been filled and another which the user is required to fill. I want to display these two columns in the data-grid, the first column should be locked and the second should be unlocked.

    The problem that is occurring is that when I am using the tab key I cannot go beyond the current record. I have to physically use the mouse to select the next one.

    Does anyone have any idea why this is happening?

    Thanks in advance

    Andrew


  2. #2
    Join Date
    May 2001
    Location
    Canada
    Posts
    182

    Re: Data Grid

    Maybe we have to use the Up and Down keys to navigate between records.

    Regards,

    Michi

  3. #3
    Join Date
    Mar 2003
    Posts
    1

    Data Grid Tabbing

    I had the same problem, but you can fix it by changing 2 properties on your data grid. First one is the "Tabaction" property, set this to 2-DbgGridNavigation. Second, you will need to set the "WrapCellPointer" property to True. This will let you go from one row to the next by tabbing.

    Now you get to the problem I have. I am doing the same thing as you. I have 2 fields that are locked and the 3rd field is the one they should edit. I can tab, but the tab stops on the 2 fields that are locked, but you can't really see that the cursor is on these fields. I am trying to figure out how to get it to tab just on the editable fields.

    I'll let you know if I figure it out. Please send me an email if you figure it out also([email protected]). Thanks Chad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured