SimpleGraph, how to create a new "component"?

Post here your experiences, comments, suggestions, or bug reports regarding to the DELPHI AREA products. Not-matching topics will be moved or deleted.

SimpleGraph, how to create a new "component"?

by fellipeh » 19/02/09 11:43

Hello, I'm from Brazil - sorry my poor english :oops: - I want to create a software to develop database, the famous "DataBase Designer", and I like to use SimpleGraph to do these... can I use for this propose? To use for these propose, I have to create a new "component" inherited from normal Rectangle, with can I write a "fields" into the new Rectangle, and in top, the name of "table". Can I use SimpleGraph for this? if not, what component can I use?

Best Regards
Fellipe H.
fellipeh
Member
Member
 
Posts: 2
Joined: 18/02/09 18:09

Re: SimpleGraph, how to create a new "component"?

by Kambiz » 20/02/09 14:22

Gi Fellipe,

In my point of view, yes, you can. It is not so difficult to subclass SG graph classes to create a new one.
Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1691
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: SimpleGraph, how to create a new "component"?

by fellipeh » 21/02/09 02:19

can you post a simple example, to how I do these?

regards
Fellipe H
fellipeh
Member
Member
 
Posts: 2
Joined: 18/02/09 18:09

Re: SimpleGraph, how to create a new "component"?

by Kambiz » 21/02/09 11:43

Sorry, but I can't.

Look at the source of SimpleGraph. You will find the example.
Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1691
Joined: 07/03/03 19:10
Location: Tehran, Iran


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 0 guests