Am 27.07.2015 12:06 schrieb "Mark Morgan Lloyd" < [email protected]>: > > Péter Gábor wrote: >> >> If you use the classname property you can: >> >> case Sender.classname of >> 'TCheckBox': ShowMessage('This is a TCheckBox'); >> end; > > > Good point. I wonder if that's mode-specific (language manual simply says "Free Pascal allows").
I'm not aware that it is mode specific. But it will work only with FPC ;) Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
