Page 1 of 1
Move stack window to front
Posted: Thu Jan 10, 2013 8:10 pm
by lohill
I am opening a stack by double-clicking on a row of a datagrid in stack A. When stack B opens there is some processing that takes place there and when all is said and done stack B ends up being behind stack A. I want stack B to be the active stack at that point that is to say I want stack B to be in from of stack A. What command can I use to get it there?
Thanks,
Larry
Re: Move stack window to front
Posted: Thu Jan 10, 2013 9:00 pm
by Mark
Hi Larry,
Use the go or show command to make a stack the front window. The go command can change the mode of a stack, which is why sometimes the show command is better.
Kind regards,
Mark
Re: Move stack window to front
Posted: Fri Jan 11, 2013 12:17 am
by lohill
Thanks Mark,
Use the go or show command to make a stack the front window. The go command can change the mode of a stack, which is why sometimes the show command is better.
I tried both in multiple places with no luck. Finally when I commented out a 'pass doubleMouseUp" it began to stay in front.
Larry
Re: Move stack window to front
Posted: Fri Jan 11, 2013 12:41 am
by Mark
Hi Larry,
Apparently, you have a mouseDoubleUp handler somewhere, which puts the wrong stack in front. By removing the pass command, you don't run that handler anymore.
Kind regards,
Mark