Snap to grid will be the death of me.
Anyhow, the attached demo should clean up a few things.
Note that I have removed most of the stuff we don’t need from Stephen Lebans clsPictureBox Class and renamed it clsFormDraw so as not to clash with his Class name if it is used elsewhere in your database. (Hope he doesn’t mind.
) The reason for that is we don’t need a lot of the stuff in the original and with less API calls it will be easier to convert to 64 bit if that ever becomes a requirement.
Class clsBarClass should now be devoid of hard coded references to Form and Table names.
See how it goes in Access 2003, and then Access 2010, and let me know if you have any problems with it.
Regards,
Chris.