Link to home
Start Free TrialLog in
Avatar of W_Fox
W_Fox

asked on

Points for TOndrej [Thread Sync]

Here you are, as promised
W_Fox
ASKER CERTIFIED SOLUTION
Avatar of TOndrej
TOndrej

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of W_Fox
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