Menus - disable items

  • Thread starter Bård Tommy Nilsen
  • Start date
B

Bård Tommy Nilsen

I have createt a meny called 'Menu'
The menu has two choises 'File' - 'Edit'
Under 'File' you can choose 'New' 'Close'
Under 'Edit' you can choose 'Form 1' 'Form 2'

This is an global menu, that is loaded with the startup
function in access.

When i choose 'File'->'New' i want the 'Edit'-'Form 1'
choice to be disabled.

I have read about the "SetMenuItem Action" in the help
menu, but it doesnt work ... No error message either

Menu Index = 0
Command Index = 0
Subcommand Index =
Flag = Gray

this i runned from an macro.

Any ideas anyone ??


Regards
Bård Tommy Nilsen
 

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