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 handle it appropriately in your > module... look through the list of detail forms you already have open, > if it's already there, give it the focus/bring it to the top, if not > then open a new detail form and store it in your collection. > > I have some sample code which you could probably adapt if you need it. > > 2. > Hmmm, maybe Benoit can help you on this one. It's not the behaviour I > would expect... > > Regards, > Caveat > > On Sat, 2011-05-21 at 17:06 +0930, Bruce Bruen 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 there a collection/list/whatever of all the windows that belong to >> the Application >> 2) when the user minimizes one of the detail windows, all the >> application windows are minimized >> >> (yep, I know I stuck two problems in one message =-O ) >> >> tia >> bruce >> >> ------------------------------------------------------------------------------ >> What Every C/C++ and Fortran developer Should Know! >> Read this article and learn how Intel has extended the reach of its >> next-generation tools to help Windows* and Linux* C/C++ and Fortran >> developers boost performance applications - including clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > Thanks Caveat,
I actually missed your message, it arrived at the same time as Benoit's below, which answered all. Bruce > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user