Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Bug found in ExtFormulaGrid.h, v2.85 Collapse All
Subject Author Date
Kevin Murray Sep 8, 2009 - 12:43 PM

Line 5385 there is an if statement which reads:


if( sizeJR.cx >= 1 && sizeJR.cx >= 1 )


Now, of course, both sides of the and operator are exactly the same. :)  I am assuming one of those should be sizeJR.cy, but I figured I’d need to report this no matter what, and see what the intent was with the check.


Thanks,


Kevin Murray

AGI




Technical Support Sep 9, 2009 - 3:19 AM

Yes, you are right. The second should be .cy of course. But if you already released software with this issue, then you don’t have any reason to worry about. Although the if statement in your message is incorrect, it does not causes the formula grid to work incorrectly or crash. This incorrect if statement just leads to several redundant loops while copying cell regions on drag-n-drop border area of this region to some location with or without Ctrl key pressed.