[Lazarus] Detect that component selected in OI.
Vojtěch Čihák
vojtech.cihak at atlas.cz
Sun May 22 20:10:22 CEST 2016
Thanks again, you're right. Now it all works, even with recursive searching in parents.
..______________________________________________________________
> Od: Ondrej Pokorny <lazarus at kluug.net>
> Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Datum: 22.05.2016 17:47
> Předmět: Re: [Lazarus] Detect that component selected in OI.
>
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 at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160522/216b397e/attachment-0003.html>
More information about the Lazarus
mailing list