Minor Bug in SimpleGraph V2.61

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Minor Bug in SimpleGraph V2.61

Postby aroberts » May 15th, 2006, 5:20 pm

First, thank you for a very powerful component. It is obvious that it took much work and creativity to create it. In the interest of providing you with field information about your component, I am reporting a small bug: Whenever a user places a Link/Line that is not directly over a previously created node, the control throws an access violaton. The easiest way to reproduce this is to attempt to place a Link/Line on a blank SimpleGraph canvas. This seems to be in the "SetCommandMode" procedure.

I am using D5 running under Win2K.

Best regards and thanks again for some great components for the Delphi community!

Posts: 2
Joined: May 15th, 2006, 5:16 pm

Postby Kambiz » May 15th, 2006, 7:16 pm

Thank you for the bug report.

It seems to be a bug in D5 and earlier compilers.

In TSimpleGraph.MouseDown method, the compiler loses the address of DragSource member field in the second access to this variable. :?

So far I couldn't find a workaround.
User avatar
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Return to DELPHI AREA Projects

Who is online

Users browsing this forum: Bing [Bot] and 3 guests