| View previous topic :: View next topic |
| Author |
Message |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Wed Oct 07, 2009 7:39 pm Post subject: [module] Scroller 1.0 |
|
|
_________________
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Wed Oct 07, 2009 7:46 pm Post subject: |
|
|
The changes over Lexikos code are as follows:
- Properly calculates scrollable area, taking into account system and window specific settings (title height, border size, gui margin, scrollbar size)
- 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.
- Documentation.
- Modularized - easy to plug-in in your code.
Again, great thing Lexikos. Thx man. _________________

Last edited by majkinetor on Wed Oct 07, 2009 7:49 pm; edited 3 times in total |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Wed Oct 07, 2009 7:55 pm Post subject: |
|
|
This is the picture of scrollable Panel which will soon be available for usage.
 _________________
 |
|
| Back to top |
|
 |
hughman
Joined: 11 Feb 2007 Posts: 166
|
Posted: Fri Oct 09, 2009 5:52 am Post subject: |
|
|
| wow, you're my idol, man. |
|
| Back to top |
|
 |
Thrawn
Joined: 12 May 2008 Posts: 30 Location: Germany
|
Posted: Wed Oct 21, 2009 4:20 pm Post subject: |
|
|
| Quote: | | This is the picture of scrollable Panel which will soon be available for usage. | i'd love that feature. can't wait to use it. |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 4652 Location: AHK Forum
|
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Wed Jan 20, 2010 3:54 pm Post subject: |
|
|
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). _________________
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Wed Jan 20, 2010 4:14 pm Post subject: |
|
|
The sample:
| Code: | _()
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 |
_________________
 |
|
| Back to top |
|
 |
luetkmeyer
Joined: 26 Feb 2010 Posts: 38
|
Posted: Sun Apr 18, 2010 3:17 pm Post subject: |
|
|
| Thank you. |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Sep 14, 2010 11:11 pm Post subject: re: Intagration with GUi window |
|
|
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! |
|
| Back to top |
|
 |
|