Opened 10 years ago
Closed 9 years ago
#2902 closed Bug (Wont Fix)
Incorrect GUI Scrolling when GUI is resizeable
Reported by: | ILLBeBack | Owned by: | |
---|---|---|---|
Milestone: | Component: | Documentation | |
Version: | 3.3.12.0 | Severity: | None |
Keywords: | GUIScrollbars | Cc: |
Description
While playing with the example in the help file for the UDF on “GUI Scroll Bars”, I’ve encountered 2 issues as follow:
- When the GUI is resizable (not done in the help file examples), resizing the GUI, after scrolling horizontally or vertically, causes all objects in the GUI to reposition within the GUI.
- The vertical Scroll Bar thumb size, and the maximum movement are incorrect.
Attached is a script that describes each step to reproduce the issues. Use the buttons “Show Issue 1” and "Show Issue 2” to display the steps to follow for each issue. Just perform those steps in the order given. The script is based upon the help file example for UDF function _GUIScrollBars_Init, with modifications to the GUI section, but no modifications to functions WM_SIZE, WM_HSCROLL or WM_VSCROLL.
Same results in AutoIt v3.3.12.0 and 3.3.13.19 beta.
LarsJ provided a fix that appears to work correctly. You can find his code and description on the issues at: http://www.autoitscript.com/forum/topic/164438-two-gui-scrollbar-issues/#entry1199648
While I select “Documentation” for the “Component”, I believe the UDF function _GUIScrollBars_Init needs to be modified, based upon the code that LarsJ provided, so that specifying the maximum vertical scroll value is straight forward, just like the horizontal value. LarsJ’s fix requires calling _GUIScrollBars_Init twice, with some calculations between them.
Attachments (1)
Change History (2)
Changed 10 years ago by anonymous
comment:1 Changed 9 years ago by guinness
- Resolution set to Wont Fix
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.