I'm trying to draw a custom border around a usercontrol.
In the paint event I have this:
If Border = True Then
UserControl.Line (1, 1)-(UserControl.ScaleWidth - 10, UserControl.ScaleHeight - 10), BorderColor, B
But sometimes only top and left borders are displayed.
Anybody knows how to address the last visible pixel on x and y?
With kind regards