How to сollect ALL items of the same type in the scene?

Hello again!
Help please solve the problem:

For example, I have a scene like this with UI:

How can I collect all TCastleRectangleControl by pascal code?