How do I loop through all TLabel components on a form?

From: Paul Saxton (psaxton_at_NOSPAMonetel.net.uk)
Date: 01/24/04


Date: Sat, 24 Jan 2004 10:20:39 -0000

Hello

Is there a way that I can go through all of the TLabel components on a form?
I need to replace "Race" with "Comp" in any caption of a label. I know I
could loop through all the components, but this would not be very efficient
as there a lot of components on the form, most of which are not TLabels

Cheers

Paul