With a small correction: it must be hooked only in design time. constructor TMyTabSheet.Create(TheOwner: TComponent); begin ... if csDesigning in ComponentState then GlobalDesignHook.AddHandlerSetSelection(@HookSelection); end; V. _______________________________________________ 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
