dual monitors and mdi_window [message #87132] |
Wed, 08 December 2004 12:36 |
Heather Kenney
Messages: 1 Registered: December 2004
|
Junior Member |
|
|
I generate forms from Designer, and I use a form template which includes this code in a when-new-form-instance trigger:
set_window_property(forms_mdi_window,window_state,maximize)
This worked just fine for my old group. I have transferred to anew group, and some of my prospective users have dual monitor capability, and my forms, when opened by these users, take over both monitor screen. Or rather, I think the mdi_window does: the data block canvases stay on a single screen; I'm guessing because they have a set size. I want the form to stay within a single monitor. Any neat solutions to this problem? Ways to determine if dual monitors are being used, and code accordingly? Or do I need to hard code a size for the mdi_window, using set_window_property? My users may have different screen resolution settings, so I'd like to find a dynamic solution if possible. Thanks for any helpful words anyone can offer!
|
|
|