Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 726807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:29:38+00:00 2026-05-14T06:29:38+00:00

i have a form, which you can pretend is laid out like Windows Explorer:

  • 0

i have a form, which you can pretend is laid out like Windows Explorer:

  • panel on the left
  • splitter
  • client panel

    +------------+#+-----------------------+
    |            |#|                       |
    |            |#|                       |
    |            |#|                       |
    |            |#|                       |
    |  Left      |#|      Client           |
    |            |#|                       |
    |            |#|                       |
    |            |#|                       |
    |            |#|                       |
    |            |#|                       |
    +------------+#+-----------------------+
                  ^
                  |
                  +----splitter
    

The the left and client area panels are each rich with controls.

The problem is that using the splitter is very sluggish. i would expect that a modern 2 GHz computer can re-display the form as fast as a human can push the mouse around. But that’s definitely not the case, and it takes about 200-300 ms before the form is fully re-adjusted.

The form has about 100 visual controls on it, no code, or custom controls.

How do i go about tracing who’s the cause of the sluggishness?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:29:39+00:00Added an answer on May 14, 2026 at 6:29 am

    Use a profiler. Eric Grange’s Sampling Profiler is good. AutomatedQA’s AQtime is excellent.

    This is more than likely due repeated resizes and repaints as the controls adjust their layouts and sizes. Lots of nesting or just lots of controls in general can cause problems. You can avoid that by overriding AlignControls and only adjusting the alignment once each time the splitter moves, but it will involve quite a bit of work.

    Alternatively, TSplitter has a ResizeStyle property that controls whether the controls move immediately or a line is XOR’d over the form, and the controls only update at the end. Not as nice visually, but a lot less work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form which can be set to .Enabled = false;. The client
I have a form which users can add controls to and when they right
I have a form in which the user can choose a component type from
I have a form where there are 6 items, each of which can be
I have the following form, which I have reduced as much as I can,
In WinForms, I can design a form and have a TabValue to control which
I have a form which a user can fill in x times with the
i have a form in which user can upload 100 mb file which results
I have a windows form application which needs to be the TopMost. I've set
I have a form which can contain files and it shows a progress bar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.