Hide Access window with fSetAccessWindow

  • Thread starter Thread starter Dale Fye
  • Start date Start date
D

Dale Fye

Using Access 2K on a clients system.

I've used fSetAccessWindow in the past for single form
applications, and it has worked great.

I now have a multi-form application that I want to use it
in, but am having some difficulty. The first form opens
up properly, but when I open the second form, it is about
the size of the mouse cursor, and I am unable to get it to
size properly.

Any help would be greatly appreciated.

Dale
 
Dale Fye said:
Using Access 2K on a clients system.

I've used fSetAccessWindow in the past for single form
applications, and it has worked great.

I now have a multi-form application that I want to use it
in, but am having some difficulty. The first form opens
up properly, but when I open the second form, it is about
the size of the mouse cursor, and I am unable to get it to
size properly.

Any help would be greatly appreciated.

I haven't seen this problem, Dale. What are the AutoResize, AutoCenter,
and BorderStyle properties of the form, and does changing any of them
make a difference? Are the form's PopUp and Modal properties both set
to Yes? Is there any code in the form's module that would attempt to
resize it or maximize it?
 
Dirk,

AutoResize: No
AutoCenter:Yes
BorderStyle:Dialog
Popup:Yes
Modal:Yes

A third form, which also opens from the splash screen
opens up to a size about 80% its original size, and the
form is actually centered in the window, so I cannot see
my menus (top left) or command buttons (bottom right).
Thank god for hotkeys.

I did have some code in to restore the window size, but
rem'd that out as well, with no apparant effect.

When I changed the Autoresize to Yes, and AutoCenter to No
for the third form, it came up with the proper size, but
this did not have any effect on the second form.

The application runs just fine when I change the Popup and
Modal properties of the forms and rem out the call to
fSetAccessWindow.

Thanks for your help
 
Dale Fye said:
Dirk,

AutoResize: No
AutoCenter:Yes
BorderStyle:Dialog
Popup:Yes
Modal:Yes

A third form, which also opens from the splash screen
opens up to a size about 80% its original size, and the
form is actually centered in the window, so I cannot see
my menus (top left) or command buttons (bottom right).
Thank god for hotkeys.

I did have some code in to restore the window size, but
rem'd that out as well, with no apparant effect.

When I changed the Autoresize to Yes, and AutoCenter to No
for the third form, it came up with the proper size, but
this did not have any effect on the second form.

The application runs just fine when I change the Popup and
Modal properties of the forms and rem out the call to
fSetAccessWindow.

Hmm. All the things I thought of seem to have had no effect. Would you
be interested in sending me a cut-down copy of your database, containing
only the elements necessary to demonstrate the problem, compacted and
then zipped to less than 1MB in size (preferably much smaller) -- I'll
have a look at it, time permitting, and maybe I can figure out what's
going wrong. You can send it to the address derived by removing NO SPAM
from the reply address of this message.
 
Unfortunately, the database is sitting on a classified system, so I can not
do so. I might try importing everything from that front end into a new
database, and see if that has any effect. If not, I will see if I can
reproduce the problem on an unclass system. Thanks for your help anyway.
 
Dirk,

Finally got it working, but am not sure what I did this time that I had not
already tried.

autoResize:yes
autoCenter:yes
BorderStyle:thin 'so I could include a minimize button
Popup:Yes
Modal:Yes
 
Back
Top