S c r o l l e r
Makes window scrollable.
Download Documentation
[module] Scroller 1.0
Started by
majkinetor
, Oct 07 2009 07:39 PM
9 replies to this topic
The changes over Lexikos code are as follows:
[*:9s4paeyg] Properly calculates scrollable area, taking into account system and window specific settings (title height, border size, gui margin, scrollbar size)
[*:9s4paeyg] Works within container control (Panel, or anything else) by simply calling Scroll_onScroll handler. This gives you option of multiple scrollable subwindows inside main window. You will be able to use it also as a handler for Scrollbar custom control for maximum customization of scrollbar appearance.
[*:9s4paeyg] Documentation.
[*:9s4paeyg] Modularized - easy to plug-in in your code.
Again, great thing Lexikos. Thx man.
[*:9s4paeyg] Properly calculates scrollable area, taking into account system and window specific settings (title height, border size, gui margin, scrollbar size)
[*:9s4paeyg] Works within container control (Panel, or anything else) by simply calling Scroll_onScroll handler. This gives you option of multiple scrollable subwindows inside main window. You will be able to use it also as a handler for Scrollbar custom control for maximum customization of scrollbar appearance.
[*:9s4paeyg] Documentation.
[*:9s4paeyg] Modularized - easy to plug-in in your code.
Again, great thing Lexikos. Thx man.
#2
-
Posted 07 October 2009 - 07:46 PM
This is the picture of scrollable Panel which will soon be available for usage.
#3
-
Posted 07 October 2009 - 07:55 PM
i'd love that feature. can't wait to use it.This is the picture of scrollable Panel which will soon be available for usage.
#5
-
Posted 21 October 2009 - 04:20 PM
Hi majkinetor, can't believe I did not tell you many thanks for this and how great it is, thank you
I've got one small problem, how would I exclude a ToolBar or any other controls from scrolling, is this possible at all without a second gui?
I've got one small problem, how would I exclude a ToolBar or any other controls from scrolling, is this possible at all without a second gui?
#6
-
Posted 20 January 2010 - 03:09 PM
You need to use Panels (see pic above). Try with Forms framework then copy the Forms modules u used to your inc folder (including _Forms.ahk so if you add more framework modules later, you don't have to mess with includes).
Toolbar on top, everything else in panel bellow. Then, you set the panel to be scrollable (see its scroll style).
Toolbar on top, everything else in panel bellow. Then, you set the panel to be scrollable (see its scroll style).
#7
-
Posted 20 January 2010 - 03:54 PM
The sample:
_() w := 500, h := 400 hForm := Form_New("Resize e3 w500 h400") hToolbar := Form_Add(hForm, "Toolbar", "cut`ncopy`npaste`nredo`nundo", "gOnToolbar style=flat il=3") hPanel := Form_Add(hForm, "Panel", "", "x5 y50 w" w-15 " h" h-55, "Attach w h") Loop, 10 Form_Add(hPanel, "Edit", "Edit " A_Index, "vscroll R5 H100 W200") Panel_SetStyle(hPanel, "scroll") Form_Show() return #include inc #include _Forms.ahk
#8
-
Posted 20 January 2010 - 04:14 PM
Firstly thanks for your work on creating this project.
I am a new user of AHK and I am trying to get a GUI windows that contains many fields to scroll up and down. i see you implementation is on the contents of the GUI windows such as the text boxes and forms. Is there any change someone can give me an example on how to apply this script to a basic GUI window?
If anyone can help it would be really appreciated!
Cheers from Australia!
I am a new user of AHK and I am trying to get a GUI windows that contains many fields to scroll up and down. i see you implementation is on the contents of the GUI windows such as the text boxes and forms. Is there any change someone can give me an example on how to apply this script to a basic GUI window?
If anyone can help it would be really appreciated!
Cheers from Australia!
#10
-
Posted 14 September 2010 - 11:11 PM