Hi Drew, > Thinking about achieving my goal then it seems there is a second > property that wold be needed at the ODB file level. > "Hide Base window ( Yes / No )"
Okay, I wasn't explicit about this, but I fully agree that this is a necessity for addressing your scenario. Finally, it would be something like declaring a certain form as *the* main window for the database. If the DB doc opens, this form comes up (instead of the standard window), if the form closes, the DB doc closes, too. Finally, just a slight shift in responsibilities. > Ok - there are few things to think about here. Such as closing the ODB > file. It would be really nice if Base had a feature that counted how > many child windows where open IF hide_base_window = TRUE, incrementing > this counter every time a window was opened and decrementing when one > closed. When the counter hits 0, close the parent file - or something > similar, it would take a bit more thought to get that right no doubt. This is similar what currently the application controller does. Extending this logic to consider a window different from the default app window as main DB window wouldn't be too difficult, I'd say. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org For additional commands, e-mail: dev-h...@dba.openoffice.org