On 22.05.2016 17:37, Vojtěch Čihák wrote:

Separating Component Editors is quiet easy but how can I separate the Hook (SelectionHook method) when I need "self"?

Thanks, V.


For what do you need self? You have the list, so do

for I := 0 to ASelection.Count-1 do
  if ASelection[I] is TMyTabSheet then
    // do your job here

Ondrej
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to