| View previous topic :: View next topic |
| Author |
Message |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Thu Sep 17, 2009 6:52 pm Post subject: [module] Splitter 1.6 |
|
|
_________________

Last edited by majkinetor on Wed Dec 09, 2009 10:48 am; edited 3 times in total |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Fri Oct 02, 2009 7:04 pm Post subject: |
|
|
*** version 1.1 ***
+ Added handler.
+ moving splitter by user improved (splitter can't go less then 0 and more then width of hosting control)
+ New sample with Panel. _________________
 |
|
| Back to top |
|
 |
temp01
Joined: 09 Jul 2009 Posts: 120
|
Posted: Fri Oct 02, 2009 7:46 pm Post subject: |
|
|
Nice!
Btw, why the call to _("mo!") in _Multiple.ahk and the .svn folders? |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Fri Oct 02, 2009 7:57 pm Post subject: |
|
|
| Quote: | | why the call to _("mo!") |
_mo.
That should be commented if you don't have _. Its something I use in each script.
| Quote: | | and the .svn folders? |
Accidentally included. Its subversion hidden folder. _________________
 |
|
| Back to top |
|
 |
skwire
Joined: 18 Jan 2006 Posts: 273 Location: Conway, Arkansas
|
Posted: Sat Nov 14, 2009 1:05 am Post subject: |
|
|
| Great library, majkinetor. I have found one issue with it, though. When a GUI has a menubar attached to it, all horizontal splitter rectangles are off by the height of the menu bar. To see what a I mean, just add a menubar to the _Multiple.ahk example and then move a horizontal splitter. I realise that it's mostly aesthetic but do you think anything could be done about this? Thanks, as always. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Sat Nov 14, 2009 2:31 pm Post subject: |
|
|
Ah damn... I didn't thought about it.... I used menu bar perhaps once in a life time.
Ye, it can be fixed. The correct position of placement will be that of a mouse, not of a rectangle shown as you already noticed.
Ill fix it. Ty for reporting. _________________
 |
|
| Back to top |
|
 |
skwire
Joined: 18 Jan 2006 Posts: 273 Location: Conway, Arkansas
|
Posted: Sat Nov 14, 2009 8:59 pm Post subject: |
|
|
| majkinetor wrote: | | Ye, it can be fixed. |
Fantastic. Thank you very much. =] |
|
| Back to top |
|
 |
TodWulff! Guest
|
Posted: Sat Dec 05, 2009 7:41 am Post subject: I too am seeing the menubar issue. |
|
|
Please advise ETA on the resolution of the menu bar-induced offset?
Also, I am seeing an issue with a horizontal splitter, and the use of a statusbar control below it. It seems to be scaling the lower control offset by a porportionate amount, based on the initial size of the control/host container, when the window is resized.
I suspect that it is related to a similar issue as the menu bar.?.
Regardless of the issues, thanks a bunch, Majkinetor, for all of your fine scripts!
-t |
|
| Back to top |
|
 |
majkinetor ! Guest
|
Posted: Sat Dec 05, 2009 6:26 pm Post subject: |
|
|
| I guess Ill fix it during this month. |
|
| Back to top |
|
 |
TodWulff! Guest
|
Posted: Mon Dec 07, 2009 3:10 am Post subject: |
|
|
Thanks a bunch, Majkinetor.
This is being used in an app I am building for UI Testing. Much appreciated!
-t |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Tue Dec 08, 2009 7:10 pm Post subject: |
|
|
*** version 1.5 ***
+ Redesigned bunch of the things, please test throughly.
+ Added new events (doubleclick, right click).
+ Code simplified and improved.
! Bugfix: Focus Rect offset fixed.
! Bugfix: Handler was triggered when programmatically moving Splitter.
+ New APIs - GetMax, GetSize
* Dependency update: Win 1.23 (in the archive)
* Event handling changed. See Add. _________________
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Wed Dec 09, 2009 9:38 am Post subject: |
|
|
*** version 1.6 ***
+ Set now accepts Limit parameter that can be used to limit splitter movement.
+ SetPos/GetPos now accept procentage.
+ Sample _Horizontal.ahk changed to reflect recent changes (added menu and statusbar and limits, added handlers to double and right click)
+ Dependency updated. _________________
 |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jan 13, 2010 1:34 am Post subject: |
|
|
| Is it possible to have the controls be resized on mouse move instead of on lbutton up is let go? |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Wed Jan 13, 2010 6:41 am Post subject: |
|
|
Definitely could be 'fixed' like that.
It doesn't supports it now. _________________
 |
|
| Back to top |
|
 |
|