Results 1 to 2 of 2

Thread: Scrollbar in Datagrid disapears

  1. #1
    alaric is offline VB.NET Forum Enthusiast
    .NET Framework
    Join Date
    Oct 2005
    Posts
    53
    Reputation
    96

    Scrollbar in Datagrid disapears

    Hi

    I recently moved to VB2005 express. New is the the splitcontainer.
    I decided to put a splitcontainer on my form to make layout easier. Its a maseter/detail form. The master (datagrid in panel1) and the details (textboxes containing the details of the selected record in panel2).
    I just calculate the width of the datagrid and set the splitcontainer according. so everything fits, whatever the resolution.

    But since I have my Datagrid in this container, my scrollbarr is gone!? When I put the datagrid outside the Splitcontainer, they are just where they should be.

    does anyone recognise this and found a solution for it? Or do I use the splitcontainer in a way it isnt designed?

    Thanks in advance

  2. #2
    alaric is offline VB.NET Forum Enthusiast
    .NET Framework
    Join Date
    Oct 2005
    Posts
    53
    Reputation
    96

    Red face

    Dont know why, ut I found out that;

    I design in 1400X1280
    if I change my screenresolution (ie 1024x 176) and run the app again, the scrollbar is gone. If I change back..... its there?

    is this a bug...

Bookmarks

Posting Permissions

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