Problem with GroupSelectedBlocks

Hello Wagner
I am trying to move A GroupSelectedBlocks to the (Left=100 and Top =100) by this code:
AtDiagram1.GroupSelectedBlocks.Top:=100;
AtDiagram1.GroupSelectedBlocks.Left:=100;
It seems that only the first line is executed. Why is the second line ignored?
Please Help!

it's ok!
I found the answer. I should use AtDiagram1.Blocks[0].MasterGroup
AtDiagram1.Blocks[0].MasterGroup.top:=y;
AtDiagram1.Blocks[0].MasterGroup.left:=x;

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.