E enonod Well-Known Member Licensed User Longtime User Jan 11, 2012 #1 When debugging Rect displays as follows... RectA (Rect) Rect(10, 16 - 16, 22) I was trying to figure how I could get negative numbers. Should it be... RectA (Rect) Rect(10, 16, 16, 22) or is it a deliberate separation of the two halves? If so may I recommend a colon ) instead.
When debugging Rect displays as follows... RectA (Rect) Rect(10, 16 - 16, 22) I was trying to figure how I could get negative numbers. Should it be... RectA (Rect) Rect(10, 16, 16, 22) or is it a deliberate separation of the two halves? If so may I recommend a colon ) instead.
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2012 #2 This is the default ToString() implementation of Rect. While it can be overridden I think that it is reasonable.
This is the default ToString() implementation of Rect. While it can be overridden I think that it is reasonable.
klaus Expert Licensed User Longtime User Jan 11, 2012 #3 + 1, me too I spend once quite some time to find out why I had a negative width till I found that it was the display. Best regards.
+ 1, me too I spend once quite some time to find out why I had a negative width till I found that it was the display. Best regards.