HOWTO: make sure the "view properties window" is closed

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

running access 2k;

If I leave the "view properties" window open on a form during
development, and then I run the app; when that form opens, so does the
view properties window.

I know I can turn it off using the view menu, or closing it - but how
do you do this programatically??

I've tried "DoCmd.RunCommand acCmdProperties" - but that only toggles
the window from its previous state. - how do you definitively turn it
off?
I also don't want to use index #'s, because how would you know FOR
SURE that an item is at a certain index.

I've looked @ setmenuitem; but don't see how that would help...

tia for any help!
Bob
 
running access 2k;
If I leave the "view properties" window open on a form during
development, and then I run the app; when that form opens, so does the
view properties window.

I know I can turn it off using the view menu, or closing it - but how
do you do this programatically??

While you are still building the form, just set the "Allow Design Changes"
property, on the "Other" tab of the property sheet, to "Design View Only" and
the problem will never raise its ugly head.

:-)
 
While you are still building the form, just set the "Allow Design Changes"
property, on the "Other" tab of the property sheet, to "Design View Only" and
the problem will never raise its ugly head.

:-)

Bruce;

tx very much for your help!

it seems pefectly logical NOW !!!!

tx again - Bob
 
Back
Top