Page 1 of 1

Strange behavior

Posted: Fri Aug 03, 2007 3:28 pm
by 9345067
If I declare (by accident)

with Tree, Items do
begin
Sort(True, True);
end;

Tree.FullexpandCollapse(True);
Application.ProcessMessages

I get an error when executing the processmessages.

If I remove Items from declaration above, everything works nice.

Why?