On the attached sample one can drag the "Search result" page e.g. to the left edge which results in having search result and search option besides each other.
If one tries to accomplish the same thing by dragging the "Search option" page to the right there is an duplicate entry created in the minimize toolbar (at the bottom). This probably has to do with the event being fired when one clicks on "search options". I was trying to figure out a way to capture that user is dragging the page and change the event handler accordingly.
Any tips on how I could change the event handler to prevent this problem would be very welcome.
Werner
auiSearchNBproblem.py (4.92 KB)
Hi Werner,
2009/7/25 Werner F. Bruhin:
On the attached sample one can drag the "Search result" page e.g. to the
left edge which results in having search result and search option
besides each other.
If one tries to accomplish the same thing by dragging the "Search
option" page to the right there is an duplicate entry created in the
minimize toolbar (at the bottom). This probably has to do with the
event being fired when one clicks on "search options". I was trying to
figure out a way to capture that user is dragging the page and change
the event handler accordingly.
Any tips on how I could change the event handler to prevent this problem
would be very welcome.
If you upgrade AUI to its SVN version, the attached script works on my platform.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
auiSearchNBproblem.py (5.23 KB)
Hi Andrea,
Andrea Gavana wrote:
..
If you upgrade AUI to its SVN version, the attached script works on my platform.
That works for me too, thanks for looking at it.
While your solution works perfectly, couldn't the check for "isMinimized" move to the method "MinimizePane", i.e. it just returns/doesn't do anything if it realizes that the pane to be minimized is already minimized? Just a suggestion 
Werner
Hi Werner,
2009/7/27 Werner F. Bruhin:
Hi Andrea,
Andrea Gavana wrote:
..
If you upgrade AUI to its SVN version, the attached script works on my platform.
That works for me too, thanks for looking at it.
While your solution works perfectly, couldn't the check for
"isMinimized" move to the method "MinimizePane", i.e. it just
returns/doesn't do anything if it realizes that the pane to be minimized
is already minimized? Just a suggestion 
And a good one
. I have applied a blind fix right now, please let
me know if it works. Otherwise I'll take a deeper look tomorrow at
work if I get the chance.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/