About TSimpleGraph

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

About TSimpleGraph

Postby BlackJack » August 12th, 2008, 8:18 am

Hello all,I hava some questions about TSimpleGraph.
1. If i want creat a new TGraphObject,which methods should i use?
for e.g
i want assign the value of Text about TGraphObject,
Code: Select all
var
    MyObject  : TGraphObject;
...
    MyObject.Text :='first';

i don't know how to do next?

2.i want creat a new TGraphObject which has a background,what shall i do

please help,thanks.
User avatar
BlackJack
Active Member
Active Member
 
Posts: 12
Joined: August 12th, 2008, 8:05 am
Location: PR China,Beijing

Postby Kambiz » August 12th, 2008, 12:01 pm

First you have to insert a node (or link) in the graph, and then modify its properties as you wish.

Take a look at InsertNode and InsertLink methods.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby BlackJack » August 13th, 2008, 1:20 am

Thank you,Kanmbiz.
I know how to do it by your help.
User avatar
BlackJack
Active Member
Active Member
 
Posts: 12
Joined: August 12th, 2008, 8:05 am
Location: PR China,Beijing


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 2 guests

cron