TsimpleGraph locate Node By Num

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

TsimpleGraph locate Node By Num

Postby sergisan » October 23rd, 2005, 10:46 pm

Hi all

two little questions ?

1-how can I insert a Node with a simple click (without dragging) the demo
inserts a block with left set to 0

2-I have a lot o blocks in a simple graph and 3 pages (I mean, i must scroll to see all the blocks). Supose I want to find the block FID = 315 and center it on the screen (change the colour etc) is it possible ?.

By the way I must st grid off with very small zoom.

Serge
Last edited by sergisan on October 25th, 2005, 9:27 pm, edited 1 time in total.
sergisan
Active Member
Active Member
 
Posts: 20
Joined: October 19th, 2005, 8:30 pm

Postby Johnny_Bit » October 25th, 2005, 6:05 pm

THIS POST IS NOT INTENDET TO HELP

It's fourth post with the same title! GUYS, title should inform at least a little. on big forums it's even said in rules! Edit your title, or someone will do it!

ps. Stefan, moderate more!
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Right

Postby sergisan » October 25th, 2005, 9:28 pm

Johnny_Bit, You are completely right, Sorry.


Sergi.
sergisan
Active Member
Active Member
 
Posts: 20
Joined: October 19th, 2005, 8:30 pm

Postby Kambiz » November 1st, 2005, 9:56 am

Hi,

1. You should handle OnClick event of the component and Insert an object manually.

2. You can use Objects list property of the component to locate an object.

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

Postby sergisan » November 2nd, 2005, 3:07 pm

Hi,

1- I have already done it.

2- I can iterate through the object list and find the object I am looking for,

but how can I make it visible in the center of the screen ? (it might not be in

the visible area ?

Thanks
sergisan
Active Member
Active Member
 
Posts: 20
Joined: October 19th, 2005, 8:30 pm

Postby Kambiz » November 3rd, 2005, 2:45 pm

Take a look at ZoomObject and/or ScrollInView methods of the component in the readme file.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron