TComponent* Finding Specific type

2003-12-04 07:39:08 PM
I need to have a list of lots of pointers to various components, to do this
I will have either an array or a vector (if i can figure out how to use
those!), or TComponent* pointers.
My question is, other that having a huge series of 'if dynamic_cast' lines,
is there someway to tell what type of component the pointer is pointed at?
Hope you can understand and help! :)
Phil V
"If it is called software, why is it so hard?" - Unknown