ACC: How to Check a Menu Item Using Access Basic (90811)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
This article was previously published under Q90811 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
Microsoft Access does not have any built-in macro or Access Basic commands
you can use to place a check mark beside or remove a check mark from a
menu command. To do this in Microsoft Access, you must use Access Basic
code to call Microsoft Windows application programming interface (API)
functions.
NOTE: In Microsoft Access 7.0 and 97, you can use the SetMenuItem macro
action to set the state of menu items (enabled or disabled, checked or
cleared) on a custom menu bar or the global menu bar for the active window.
For more information about the SetMenuItem action, search the Help Index
for "SetMenuItem Action."
REFERENCES
For more information about custom menus, search for "customizing menus"
using the Microsoft Access Help menu.
For more information about similar programming features, please see the
following articles in the Microsoft Knowledge Base:
88940 How to Dim (Gray) Menu Items with Access Basic
95935 How to Determine Whether a Menu Item Is Checked
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbhowto kbprogramming KB90811 |
---|
|