Start Free Trial
Log in
W_Fox
asked on
Points for TOndrej [Thread Sync]
Here you are, as promised
W_Fox
ASKER CERTIFIED SOLUTION
TOndrej
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
How it works
Start Free Trial
W_Fox
ASKER
BTW: how to gracefully free the list? currently I'm doing as follows:
if MyActionList<>nil then
try
With MyActionList.LockList do
for t:=0 to Count-1 do
Dispose(Items[t]);
finally
MyActionList.UnlockList;
MyActionList.Free;
end;
is this OK or not?
W_Fox
ASKER
if MyActionList<>nil then
try
With MyActionList.LockList do
for t:=0 to Count-1 do
Dispose(Items[t]);
finally
MyActionList.UnlockList;
MyActionList.Free;
end;
is this OK or not?
W_Fox