Accidental scrolling off the Patient View screen

From CCMDB Wiki
Jump to navigation Jump to search

We have had an ongoing problem where scrolling the mouse wheel while on the Patient View screen will scroll to a new patient screen. If you notice this before making any changes then scrolling back up will get you back to the patient you were editing. If you have made changes to the empty form, try to escape out.

Attempts to fix the bug

I have tried to address this removing the "add record" permission from the form, but this caused another error (can't remember which). I have also tried to take the right away with it being automatically re-enabled somewhere

2011-07-15

Had added "Form_View.AllowAdditions = False" to the on-open event handler for the viewer form. This broke adding patients, so I commented it out a long time ago. I have moved the command to the "pick" button on the patient list now, hopefully that will fix the problem.