G
Guest
Can API windows be made "modular"
In Access 2003 ...
I am using the API code at http://www.mvps.org/access/api/api0061.htm
curtesy of Terry Kreft and Stephen Lebans to allow the changing of Form and
Report Font settings.
It works great - Clicking on one of two fields on my modifyer form opens the
Windows API "Font" and the code does the rest assuming that the user selects
OK or Cancel on the API window.
My problem is that this API window may exist behind my Switchboard form
(which defaults to full screen, and I want to keep it that way) if the user
were to click elsewhere (ie on the switchboard form).
If one or more instances of the API window are left open then the
application cannot be closed correctly.
Is it possible to address these windows akin to an Access Form -
o If open dont allow another to open
o If open and an Access event occurs - then close the API window
o On open of these windows always make them modular so that they must be
actioned correctly before an access event occurs.
Here's hoping you guys can help me ...
Cheers,
Dave.
In Access 2003 ...
I am using the API code at http://www.mvps.org/access/api/api0061.htm
curtesy of Terry Kreft and Stephen Lebans to allow the changing of Form and
Report Font settings.
It works great - Clicking on one of two fields on my modifyer form opens the
Windows API "Font" and the code does the rest assuming that the user selects
OK or Cancel on the API window.
My problem is that this API window may exist behind my Switchboard form
(which defaults to full screen, and I want to keep it that way) if the user
were to click elsewhere (ie on the switchboard form).
If one or more instances of the API window are left open then the
application cannot be closed correctly.
Is it possible to address these windows akin to an Access Form -
o If open dont allow another to open
o If open and an Access event occurs - then close the API window
o On open of these windows always make them modular so that they must be
actioned correctly before an access event occurs.
Here's hoping you guys can help me ...
Cheers,
Dave.