Thanks to everyone who responded.

First of all, making the console the "real" home page isn't an option - we 
use the homepage for important notifications and access to other 
applications.

The real driver behind this is that the existing functionality simply 
opens a new copy of the console, meaning that the users end up with a 
large number of open consoles when they actually only need one.

The suggestion re capturing and restoring the "state" of the console is a 
good one - but I think it might be overkill in this instance.

Setting focus to the console form (bring to front) would have been 
*exactly* what the user wanted, but closing old copies before opening a 
new one will probably suffice.

Incidentally, we're running 6.3 with Windows clients.


On Wed, 23 Aug 2006 07:57:03 -0400, Carey Matthew Black 
<[EMAIL PROTECTED]> wrote:

>Chris,
>
>Be warned, browser A != browser B. You may find that some browsers and
>or browser settings will not let your window "steal focus" or other
>such browser tricks. (pop-up blockers like to disable this ability in
>particular.)
>
>I am not sure what your trying to achieve, but here are a few random 
thoughts...
>
>1) On close of "console" submit a record for the user to "hold the
>state" of the console at the time of close. Then on "open" do a set
>field action to "reset" the state. That might allow you to not keep
>the console open and still "know" what the form's condition was
>"last". (So you can use a Button with a simple Window Open action.)
>
>2) You could close all "other" windows that do not mach your concept
>of the window ID from the Global field. But you might also end up with
>no windows too. (not sure if that would force the user back to the
>Home Page or just close the session/browser. A possibly interesting
>side effect.)
>
>
>If you can be more detailed about what your trying to do then maybe
>more ideas would surface from the group?
>
>Good luck.
>
>--
>Carey Matthew Black
>Remedy Skilled Professional (RSP)
>ARS = Action Request System(Remedy)
>
>Solution = People + Process + Tools
>Fast, Accurate, Cheap.... Pick two.
>Never ascribe to malice, that which can be explained by incompetence.
>
>
>
>On 8/23/06, Chris Abell <[EMAIL PROTECTED]> wrote:
>> Hi all
>>
>> I'm attempting to reproduce the functionality provided by the Home Page
>> button for a form that *isn't* (and cannot be) the home page. For 
reasons
>> of brevity it shall hereafter be referred to as "the console".
>>
>> Best I can come up with is the following:
>>
>> 1. Capture the window id of the console in a Global field on window open
>> 2. When one of the "go to console" buttons is clicked, send
>> a "CloseWindow" event to the current console (using aforementioned id).
>> 3. Open a new console.
>>
>> Ideally I'd like to be able to send an event that would cause the 
console
>> to steal focus (i.e. move to front) so that current console information
>> (row selection etc) is retained.
>>
>> Has anyone ever done anything like this? Can you suggest an alternative
>> approach?
>>
>> Thanks
>>
>> Chris
>>
>>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to