Help on String manipulation

Hello reader.

If you can help me, thanks for it.

I like to manipulate Caption's in a form this can be labels or menutems

Wat i like to do is.

        I: Integer
        Dummy: String;

        for I:= 0 to Screen.ActiveForm.ComponentCount -1 do
        Dummy := Screen.ActiveForm.Components[I].name;

Now i like do acces DUMMY as it like to be a Label, Menu, Or editbox.

        Dummy.caption := 'Nieuwtext'

I can find a solution for this probleem.
Please help me.

Jou can mail me in Holland.


Thanks for your help.

Best regardes