TSimpleGraph CaptionLink alignment

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

TSimpleGraph CaptionLink alignment

Postby lazarus » April 18th, 2009, 8:38 am

Hi... I'm french Delphi developer and scuse for my poor english.
First, SimpleGraph is a beautiful Delphi Component, thanx !! I use it in my new software, to create electrical diagram.
But the Link Caption is in the center of the current line... How to put the caption on the left, or on the right? Are you an idea, or where is the part of code (what procedure/function) to do this ?
thanx
Florent
ImLeftAlign.jpg
ImLeftAlign.jpg (34.03 KiB) Viewed 847 times
lazarus
 

Re: TSimpleGraph CaptionLink alignment

Postby Kambiz » April 18th, 2009, 9:07 am

There is no property for aligning link's text. However, you can use a breakpoint to adjust text.

Changing code is a bit tricky. Look for TextRegion and TextCenter variables in the code.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: TSimpleGraph CaptionLink alignment

Postby lazarus » May 4th, 2009, 12:10 pm

I do this....
The result is correct.
Thanx
lazarus
 


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 2 guests

cron