[Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is bring it to the top. Achieving this is being fouled by: 1) is there a collection/list/whatever of all the

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Caveat
Hi Bruce 1. I'd suggest you have a startup module that you use to 'manually' open the forms. Keep track of the detail forms you've opened in a Collection or array. If you raise an event from the 'main' form when the user clicks on a detail line, you can handle it appropriately in your module...

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Benoît Minisini
My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is bring it to the top. Achieving this is being fouled by: 1) is there a collection/list/whatever of all

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 20:02, Benoît Minisini wrote: My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is bring it to the top. Achieving this is being fouled by: 1) is

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 18:23, Caveat wrote: Hi Bruce 1. I'd suggest you have a startup module that you use to 'manually' open the forms. Keep track of the detail forms you've opened in a Collection or array. If you raise an event from the 'main' form when the user clicks on a detail line, you can

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Benoît Minisini
On 21/05/11 20:02, Benoît Minisini wrote: My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is bring it to the top. Achieving this is being fouled by:

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 20:29, Benoît Minisini wrote: On 21/05/11 20:02, Benoît Minisini wrote: My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is bring it to