Thanks again, you're right. Now it all works, even with recursive searching in parents. ..______________________________________________________________
Od: Ondrej Pokorny <[email protected]> Komu: Lazarus mailing list <[email protected]> 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 [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
