Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

CampwoodJim

@CampwoodJim
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ScrollableControl
    C CampwoodJim

    This didn't work for me - my panel still scrolls to the top of the selected control when the panel is reactivated after some other window has the focus. But thanks to you I did find a solution. I was able to disable scrolling by overriding method AdjustFormScrollbars(). I use a class-level flag (_enableScroll) to control when I want scrolling enabled, as follows: protected override void AdjustFormScrollbars(bool displayScrollbars) { if (_enableScroll) { base.AdjustFormScrollbars(displayScrollbars); } } I set _enableScroll false when my main form is deactivated and use a timer to set it true again a second after my main form is re-activated.

    C# help html com question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups