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

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
 
B

Bruce M. Thompson

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.

:)
 
B

Bob

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top