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

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

Mark Morgan Lloyd wrote 22 lines
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

Reply by email