<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 22.05.2016 17:37, Vojtěch Čihák
wrote:<br>
</div>
<blockquote cite="mid:20160522173748.2171393E@atlas.cz" type="cite">
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span
style="font-size: 10pt;">Separating Component Editors is quiet
easy but how can I separate the Hook (SelectionHook method)
when I need "self"?</span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Thanks, V.</p>
</blockquote>
<br>
For what do you need self? You have the list, so do<br>
<br>
for I := 0 to ASelection.Count-1 do<br>
if ASelection[I] is TMyTabSheet then<br>
// do your job here<br>
<br>
Ondrej<br>
</body>
</html>