Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT: Application crash on enter a large number for LineWidth in property editor

When entering a large integer number for LineWidth in property editor, my application crashes. An overflow exception is raised. So how to achieve this and avoid to crash and control the maximum value that user can enter for LineWidth.

0 Kudos
Message 1 of 2
(5,060 Views)

EDIT: If you want to reproduce it, please enter on the property editor the value of 5555555555 as a line width. This will raise the exception overflow. So please, provide a solution. I am not sure if it is a bug of the property editor or not, but I need to control it and avoid it to happen. Any way to limit the maximum value for line width? or any solution to control this exception? or avoid to user enter a large value?

0 Kudos
Message 2 of 2
(5,058 Views)