I am currently using C# to create a Windows application, but if I set autoscroll=true on the form, it will appear scrolling down when I load the form.Is this behavior a specification?Also, I don't want you to scroll, so I would appreciate it if you could tell me the solution.
c#
Scroll to display the element if the focus control is outside the display range when the form is displayed.Basically, this is a natural behavior and should not be changed.First, check if initial focus is appropriate.
If you really want to scroll, you can force a scroll position change by setting 0 to VerticalScroll.Value
or HorizontalScroll.Value
after Form.Load
(for example, Form.Shown
events).
577 Who developed the "avformat-59.dll" that comes with FFmpeg?
633 Uncaught (inpromise) Error on Electron: An object could not be cloned
575 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
926 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.