onlytk wrote:Hello, i have to put a node when a user do click over the component SimpleGraph (canvas), but there isn't the event OnClick, how can i do that?
Kambiz wrote:In the new release, I've added missing OnClick and OnObjectClick events to the SimpleGraph.
procedure TForm1.SGClick(Sender: TObject);
var
R: TRect;
begin
SG.DefaultNodeClass := TRectangularNode;
R := MakeRect(Point(10,10),Point(100,100));
SG.InsertNode(@R);
end;
Return to DELPHI AREA Projects
Users browsing this forum: No registered users and 2 guests