CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2005
    Posts
    30

    Dialog auto-scroll problem?

    In my application i have a dialog where i have many edtiboxes, checkboxes...etc.

    Becouse of many controls on my dialog i have set AutoScroll property to true. But now when i start my program and when i load my dialog the scroll is at the bootom of my dialog.

    But i will like that when i load my dialog is on top of it that i can latter scroll it down.

    Where is a problem?

  2. #2
    Join Date
    Mar 2005
    Location
    Nottingham, UK
    Posts
    665

    Re: Dialog auto-scroll problem?

    I'm not aware of a control with AutoScroll property. Is this a .net question?

    ...

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Dialog auto-scroll problem?

    I think this is more of a VC++ question, based on the references to editboxes and dialogs.

  4. #4
    Join Date
    Dec 2005
    Posts
    30

    Re: Dialog auto-scroll problem?

    Ups...Wrong forum

    This is a .NET question indeed. But i still have the same problem and don't now how to make it right. If anyone have any sugestion please reply!

    Regards

  5. #5
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Dialog auto-scroll problem?


  6. #6
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Dialog auto-scroll problem?

    Quote Originally Posted by nectuss
    Ups...Wrong forum

    This is a .NET question indeed. But i still have the same problem and don't now how to make it right. If anyone have any sugestion please reply!

    Regards
    Check the TabIndex of your controls. Seems like the Control with TabIndex = 0 is at the bottom of the Form/Dialog.

  7. #7
    Join Date
    Dec 2005
    Posts
    30

    Re: Dialog auto-scroll problem?

    Quote Originally Posted by Shuja Ali
    Check the TabIndex of your controls. Seems like the Control with TabIndex = 0 is at the bottom of the Form/Dialog.
    You saved my life might . Thank you for your help!

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