Demonstration Application throws ‘Division By Zero’ RTE if minimized

Summary

Id:2185.2
Type:Bug Bug
Current Status:Resolution Identified

Detail

11 Nov 2003Resolution IdentifiedAndy Zeiner

If the program is minimized, a "Division by zero" error occurs This can be fixed by putting:

If Me.ScaleHeight > 0 Then
       ...
End If

around the code in the Form_Resize() Sub.