TsimpleGraph Readme file Spanish translation

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

TsimpleGraph Readme file Spanish translation

Postby elias » March 6th, 2006, 12:11 pm

As far as I Know, spanish is the second more spoken language in the world (well, that's they say); I'll have some time to make a translation of the Readme.html next week, and I'd like to do it. Case is: are you interested in adding it to your web?
elias
Senior Member
Senior Member
 
Posts: 90
Joined: November 8th, 2005, 12:09 pm
Location: Galicia, Spain

Postby Kambiz » March 6th, 2006, 1:25 pm

Yes, of course! It's so kind of you.

I think this weekend I can finish v2.1. I'll send you the files before publishing them.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby elias » March 8th, 2006, 2:48 pm

Mm, I thought I had this post answered; I'm having a piece of the html already translated at .txt; send me the new when you have time and I'll finish and replace the texts.
What html editor are you using? I'd use the same.
elias
Senior Member
Senior Member
 
Posts: 90
Joined: November 8th, 2005, 12:09 pm
Location: Galicia, Spain

Postby Kambiz » March 8th, 2006, 9:39 pm

Macromedia Dreamweaver MX 2004

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

Postby elias » March 13th, 2006, 4:12 pm

Buff! I'm yet in
function FindNextObject(StartIndex: Integer; Inclusive, Backward, Wrap: Boolean; GraphObjectClass: TGraphObjectClass = nil): TGraphObject;
I think it will take me a little...
there's a pair of errors at InsertLink functions. I guess the matter was copying/pasting.
elias
Senior Member
Senior Member
 
Posts: 90
Joined: November 8th, 2005, 12:09 pm
Location: Galicia, Spain

Postby Kambiz » March 13th, 2006, 7:06 pm

Sorry for this inconvenience.

Here is v2.1 readme file.
Attachments
ReadMe.zip
SimpleGraph 2.1 Readme file (Beta 2)
(27.25 KiB) Downloaded 196 times
Last edited by Kambiz on March 14th, 2006, 1:05 pm, edited 1 time in total.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby HPW » March 13th, 2006, 8:55 pm

Kambiz,

very interesting reading!
TSimpleGraph 2.1 does have some improvments which are very wellcomed. In fact I have been asked for some of them from the first testers of the neobook plugin.

So any timeline to release 2.1?
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby elias » March 14th, 2006, 1:09 pm

OnObjectChange: TGraphNotifyEvent;
TGraphNotifyEvent = procedure(Graph: TSimpleGraph; GraphObject: TGraphObject) of object;
Occurs when a graph object is changed.
---
Changed in wich way?
elias
Senior Member
Senior Member
 
Posts: 90
Joined: November 8th, 2005, 12:09 pm
Location: Galicia, Spain

Postby Kambiz » March 14th, 2006, 1:12 pm

HPW wrote:So any timeline to release 2.1?

I think in a few days I'll release it. Currently I'm looking for a time to add some Graph algorithms to the sample program.

By the way, I updated the attached readme file. There are some more improvements.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby Kambiz » March 14th, 2006, 1:17 pm

elias wrote:OnObjectChange: TGraphNotifyEvent;
TGraphNotifyEvent = procedure(Graph: TSimpleGraph; GraphObject: TGraphObject) of object;
Occurs when a graph object is changed.
---
Changed in wich way?

Any change that causes Modified property of SimpleGraph set to True.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby HPW » March 14th, 2006, 1:43 pm

Could LoadFromStream/LoadFromFile with append=true get an optional set of offset parameters to load the content to a different location?
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » March 14th, 2006, 4:45 pm

Use the following code:

Code: Select all
procedure MergeGraph(SimpleGraph: TSimpleGraph; const FileName: String;
  OffsetX, OffsetY: Integer);
var
  OldObjectCount: Integer;
  I: Integer;
begin
  with SimpleGraph do
  begin
    BeginUpdate;
    try
      OldObjectCount := Objects.Count;
      LoadFromFile(FileName, True);
      for I := OldObjectCount to Objects.Count - 1 do
        Objects[I].Selected := True;
      with Objects[Objects.Count - 1] do
      begin
        BeginDrag(Point(Left, Top), GHT_CLIENT);
        DragBy(OffsetX, OffsetY, False);
        EndDrag(True);
      end;
      ClearSelection;
    finally
      EndUpdate;
    end;
  end;
end;
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby HPW » March 14th, 2006, 4:49 pm

Thanks for the code. Will be usefull when moving to 2.1!
:wink:

Can you clarify how the new data-property can be used?
Is it possibel to store a stringlist for example with the node-object?
Something like attaching a user-defined property list?
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby kokkoras » March 15th, 2006, 4:35 am

HPW wrote:Thanks for the code. Will be usefull when moving to 2.1!
:wink:

Can you clarify how the new data-property can be used?
Is it possibel to store a stringlist for example with the node-object?
Something like attaching a user-defined property list?


I guess it should be used like the Data property of the TTreeNode. It's a place you can use to associate a node with another object. See the related help of Delphi for examples.


Fotis
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby HPW » March 15th, 2006, 6:38 am

I have a look at the TTreenode-help and I am not sure about the storage.
The pointer points to the data, but is the data then part of the node-object and stored with it?
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Next

Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron