B
BruceM
I have been rather frustrated by the inability to cause a form that serves
as a switchboard (my design, not the automated version) to do anything when
I open another form on top of it. First I couldn't keep it maximized (not
even with DoCmd.Maximize in the Load event, and DoCmd.Restore in various
other events. I solved this problem by dragging the borders of the normal
view until the form was, in effect, maximized.
Then I wanted to hide the Detail section so that when a form opens on top of
the switchboard the switchboard presents a blank background. I had thought
I could use the Lost Focus event to do Me.Detail.Visible = False, and vice
versa in the Got Focus event, but I discovered that even when I open another
form with its Modal property set to Yes (which should mean it has the focus,
and therefore the switchboard form doesn not), the switchboard's Lost Focus
event doesn't do anything. Same for Got Focus. I know I can hide the
Detail section, since I set up a command button to toggle its visible
property (as a test), but I can't seem to automate the process.
What am I missing?
as a switchboard (my design, not the automated version) to do anything when
I open another form on top of it. First I couldn't keep it maximized (not
even with DoCmd.Maximize in the Load event, and DoCmd.Restore in various
other events. I solved this problem by dragging the borders of the normal
view until the form was, in effect, maximized.
Then I wanted to hide the Detail section so that when a form opens on top of
the switchboard the switchboard presents a blank background. I had thought
I could use the Lost Focus event to do Me.Detail.Visible = False, and vice
versa in the Got Focus event, but I discovered that even when I open another
form with its Modal property set to Yes (which should mean it has the focus,
and therefore the switchboard form doesn not), the switchboard's Lost Focus
event doesn't do anything. Same for Got Focus. I know I can hide the
Detail section, since I set up a command button to toggle its visible
property (as a test), but I can't seem to automate the process.
What am I missing?