[Lazarus] how to get Type of Sender or Components[i] in order to Cast?
Chris Kelling
kellingc at cox.net
Mon Jul 27 13:29:15 CEST 2015
Sorry about that - that message was supposed to be sent in reply to a message rhar came in right before one that was for this list. My Note 4 thought I was trying to reply a thread in the Lazarus group.
-Chris
On Jul 27, 2015 7:23 AM, Chris Kelling <kellingc at cox.net> wrote:
>
> We have one in Room B. It is Ed Sax's old machine. It is an early model that has the chicklett keyboard. About the only distinction tge PC Jr has is that is was a finacial failure. Both style of keyboards are wireless, but you had to have the keyboard aimed directly at the IR receiver on the PC.
>
> If it has the newer style keyboard, I say we take it. We can put both styles on display to show the difference. Otherwise, we should pass.
>
> -Chris
>
> On Jul 27, 2015 6:06 AM, Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
> >
> > 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").
> >
> > --
> > Mark Morgan Lloyd
> > markMLl .AT. telemetry.co .DOT. uk
> >
> > [Opinions above are the author's, not those of his employers or colleagues]
> >
> > --
> > _______________________________________________
> > Lazarus mailing list
> > Lazarus at lists.lazarus.freepascal.org
> > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list