Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-07

how to get Type of Sender or Components[i] in order to Cast?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Chris Kelling

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

Chris Kelling wrote 35 lines
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 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 > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email