Winforms: Arrange controls relatively
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 4 of 4

Thread: Winforms: Arrange controls relatively

Hybrid View

  1. #1
    Join Date
    Apr 2003

    Winforms: Arrange controls relatively


    I built a Winforms application with a tab control that contains few pages.
    On each page there are simple controls like: TextBox,ComboBox,Checkbox

    On a 20'' screen, I see all controls.
    On a 15'' laptop screen, I can not see the status bar and part of the pages.

    The resolution of the laptop is identical to the 20'' screen and I tried also highr resolution.

    Can you help ?


  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    Re: Winforms: Arrange controls relatively

    I'd make use of docakble panels here. Place all the desired controls inside a panel and set the panel's Anchor and Dock properties accordingly

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004

    Re: Winforms: Arrange controls relatively

    Along with what Hannes said - detect the resolution and adjust the controls/add scroll bars as appropriate.

  4. #4
    Join Date
    Oct 2004
    Rocket City

    Re: Winforms: Arrange controls relatively

    The Control Panel / Use Larger Fonts settings can also have an amazing effect on what Windows shows.

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 a survey!

HTML5 Development Center