that worked quite well.
Though now I have a new problem....
I select a bunch of objects, then run through them with a while statement.
h := FSActLayer;
while h <> NIL do begin
hCenter(h,x,y);
symbol(sym,x,y);
DelObject(h)
h := NextObj(h);
end;
this code will endlessly execute. Creating thousands of symbols. Because each time a symbol is created it is added to h and thus continues to execute.....Any ideas on how to stop this?
[ 10-12-2005, 01:37 AM: Message edited by: mattb_ ]