Datagrid Horizontal Scrollbar is Unusable
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: Datagrid Horizontal Scrollbar is Unusable

Threaded View

  1. #1
    Join Date
    Jul 2011
    Posts
    9

    Datagrid Horizontal Scrollbar is Unusable

    Hye. I have a datagrid which retrieves values from database. The datagrid contains only 1 column. Since some of the values in cells are long, we can only see half of the value. So, I enabled both of the scroll bars; the horizontal and vertical. But I can only use the vertical scroll bar while the horizontal scroll bar is unusable. Its color shows like it was disabled. Can anyone tell me how can I make it usable?

    I place this code to enable both scroll bars:
    Code:
    dbgUserDefDocs.ScrollBars = dbgBoth
    By the way, both scroll bars are automatically generated. I mean, I didn't put Hscrollbar or VScrollbar objects on the datagrid.
    Last edited by fajarjalal; August 12th, 2011 at 03:10 AM. Reason: Grammatical Mistake

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center