Popup menus for event handlers intended for read-only access to a database are defined in the subclass which adds event handlers intended for write access. The equivalent keystroke event handlers intended for read-only access are defined in the correct class.