SimpleGraph 2.3 released!

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

SimpleGraph 2.3 released!

Postby Kambiz » March 21st, 2006, 3:30 pm

http://www.delphiarea.com/products/simplegraph/simplegraph.zip

Thank you for your feedbacks that helped me to improve SimpleGraph and fix its bugs.

Cheers
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2405
Joined: March 7th, 2003, 7:10 pm

Postby HPW » March 21st, 2006, 3:37 pm

Thanks has to go back, since you are so strongly committed to your component and provide such excellent and fast support. Rarely seen even with commercial offers.
:!:
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 230
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby kokkoras » March 21st, 2006, 4:22 pm

AGAIN, I am not sure if this is a demo or a library issue/bug, but:

When I change the node type of a linked node in the demo examples, the resulting node is no longer linked. This was discovered in 2.2 but Kambiz is lighting speedy, so my appology for the late report.

EDIT: the link's tooltip still says that it is hooked but moving the node around reveals the issue.
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby HPW » March 21st, 2006, 5:45 pm

On first test I got frightend, because LoadFromFile wasn't working right.
Then I realize that i missed a change (2.0-2.1) in demo-main from SimpleGraphObjectInsert to SimpleGraphObjectInitInstance.

SimpleGraphObjectInsert is now used in 2.3 on LoadFromFile on each node.
So no more a place to set node properties.

But now I got it working again. I like the pan-mode!!
Plugin 1.03 released.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 230
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby kokkoras » March 21st, 2006, 5:56 pm

HPW wrote:I like the pan-mode!!


It's very nice but I would prefer to be in pan-mode as long as ctrl+space is pressed. When you need to pan you usually do something else (edit) and want to return back to that mode automatically. Anyway, it's not big deal. Kambiz deserves some rest. :roll:
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby kokkoras » March 21st, 2006, 5:59 pm

HPW wrote:So no more a place to set node properties.

Why don't you set the properties having the node hidden and then make it visible (when settings have been set)?
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby HPW » March 21st, 2006, 6:24 pm

kokkoras wrote:Why don't you set the properties having the node hidden and then make it visible (when settings have been set)?


No problem. SimpleGraphObjectInitInstance is the perfect place.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 230
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby kokkoras » March 21st, 2006, 6:41 pm

HPW wrote:No problem. SimpleGraphObjectInitInstance is the perfect place.

OK, I thought this was removed :roll:
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby HPW » March 21st, 2006, 9:15 pm

A small issue about the new pan-mode.
There is a key-binding for the arrow keys which seems not so logical.

With the right and left key I move the view right and left. Logical.
With the up and down key I move the view down and up. Not logical.

Wanted behaviour?
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 230
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » March 22nd, 2006, 12:54 am

HPW wrote:A small issue about the new pan-mode.
There is a key-binding for the arrow keys which seems not so logical.

With the right and left key I move the view right and left. Logical.
With the up and down key I move the view down and up. Not logical.

Wanted behaviour?

Simply I've never pressed up/down key to test the behavior. ;)
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2405
Joined: March 7th, 2003, 7:10 pm

Postby Kambiz » March 22nd, 2006, 1:13 am

kokkoras wrote:AGAIN, I am not sure if this is a demo or a library issue/bug, but:

When I change the node type of a linked node in the demo examples, the resulting node is no longer linked. This was discovered in 2.2 but Kambiz is lighting speedy, so my appology for the late report.

EDIT: the link's tooltip still says that it is hooked but moving the node around reveals the issue.


The bug is in TGraphObjectList.Assign method. :roll:

Thank you.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2405
Joined: March 7th, 2003, 7:10 pm

Postby Kambiz » March 22nd, 2006, 1:18 am

HPW wrote:SimpleGraphObjectInsert is now used in 2.3 on LoadFromFile on each node.


OnObjectInsert occurs whenever an object places on the graph.

OnObjectInitInstance occurs when the object is created but still is not inserted on the graph. This event doesn't trigger for objects loading from a stream.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2405
Joined: March 7th, 2003, 7:10 pm

Postby HPW » March 22nd, 2006, 6:38 am

OnObjectInsert occurs whenever an object places on the graph.


Yes, that was my experience, but starting with 2.3!
I had modelled the plugin after the methods used in demo-main 2.0
So it work until 2.3 and after a look in the newer demo-main, I changed to OnObjectInitInstance and got it working back.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 230
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby P_G » March 22nd, 2006, 9:33 am

Thanks a lot for this excellent component, Kambiz. It's a fantastic thing to learn from your code. Especially when I compare it with older versions. :D

C. U.
P_G
P_G
Senior Member
Senior Member
 
Posts: 51
Joined: June 14th, 2004, 11:13 am
Location: Germany

Postby Kambiz » March 22nd, 2006, 10:21 am

Thanks you!

By the way, if you think there's no more bug, I upload the update.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2405
Joined: March 7th, 2003, 7:10 pm

Next

Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 2 guests

cron