R
Robert_L_Ross
Can someone tell me how to force a form to open at a specific location on the
screen?
As an example, I have my switchboard open at the center of the screen (I
chose center to account for different screen resolutions). I have another
form that opens and shows the WindowTop and WindowLeft values for the main
switchboard. I'd like to add some code to another form
(SwitchboardReportMenu) to force it to open at the exact same location as the
main Switchboard. See, the SwitchboardReportMenu form is the exact same size
and looks the same, but has date values that are used for queries. If I add
the date fields to the main Switchboard, I'd have to use all kinds of macros
to hide them when not needed (not to mention maintenance - fields on top of
fields in that little switchboard and having to hide and unhide fields at
every click).
Anyone know how to add code to the On Open event or something similar to
force the form to open at the same location that the main Switchboard opens?
THX!
screen?
As an example, I have my switchboard open at the center of the screen (I
chose center to account for different screen resolutions). I have another
form that opens and shows the WindowTop and WindowLeft values for the main
switchboard. I'd like to add some code to another form
(SwitchboardReportMenu) to force it to open at the exact same location as the
main Switchboard. See, the SwitchboardReportMenu form is the exact same size
and looks the same, but has date values that are used for queries. If I add
the date fields to the main Switchboard, I'd have to use all kinds of macros
to hide them when not needed (not to mention maintenance - fields on top of
fields in that little switchboard and having to hide and unhide fields at
every click).
Anyone know how to add code to the On Open event or something similar to
force the form to open at the same location that the main Switchboard opens?
THX!