G
Guest
I'm using a me.visible method for my form system.
I open forms from the switchboard like this:
me.visible = false
docmd.openform "formname", openargs:= me.name
On the called form's unload event
I run the following:
openargs.visible = true
The problem that is causing me now to want to change this, is that
I just want to be able to re-run the "filloptions" routine that determines
the buttons from the switchboard options table.. because I've customized it a
bit.
I've tried everything from putting the filloptions in the activate event,
load event, gotfocus event, and even tried form_Switchboard.refresh... all to
no avail.
I ended up just closing the form when I open another form.
And ofcourse, that does the trick.
Is there something I can do that forces what is in the current event of the
switchboard to run again when it gets the focus?
I open forms from the switchboard like this:
me.visible = false
docmd.openform "formname", openargs:= me.name
On the called form's unload event
I run the following:
openargs.visible = true
The problem that is causing me now to want to change this, is that
I just want to be able to re-run the "filloptions" routine that determines
the buttons from the switchboard options table.. because I've customized it a
bit.
I've tried everything from putting the filloptions in the activate event,
load event, gotfocus event, and even tried form_Switchboard.refresh... all to
no avail.
I ended up just closing the form when I open another form.
And ofcourse, that does the trick.
Is there something I can do that forces what is in the current event of the
switchboard to run again when it gets the focus?