CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Posts
    22

    Question Displaying datatable properly

    Hi,
    When I run the appilcation,GUI page is displayed which contains a panel ...
    and a datatable containg id,designation,name address of employee is dynamically created but here lies the problem..
    At the display time ,half of the datatable goes behind the panel..as a result of which, only half part is visible..I need to move the sliding bar of datatable everytime to view the datatable fully....Panel is fixed...
    I dont know how to set the property of panel or datatable ..so that panel and datatable is displayed fully..

  2. #2

    Re: Displaying datatable properly

    Datatable.BringToFront()

    OR

    Datatable.SendToBack()

    I can never remember which one I need...
    --------------------------------------------------------------------------------------------------------------------------
    Disclaimer - Most likely any code I have posted as an answer was most likely written free hand and may have some minor compile errors, and is merely intended to give you the idea.

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