Resuelto
Problema resuelto.. !!
Gracias.. David..
En mi caso seria asi . y lo comparto _ CMCtrlAsociado contiene el name de x control
if TypInfo.IsPublishedProp(Screen.ActiveForm.FindComponent(TEditPers(Screen.ActiveForm.Components[i]).CMCtrlAsociado), 'Text') then Screen.ActiveForm.FindComponent(TEditPers(Screen.ActiveForm.Components[i]).Text := 'XXXX valor'
else //bla bla
if TypInfo.IsPublishedProp(Screen.ActiveForm.FindComponent(TEditPers(Screen.ActiveForm.Components[i]).CMCtrlAsociado), 'Caption') then Screen.ActiveForm.FindComponent(TEditPers(Screen.ActiveForm.Components[i]).Caption := 'XXXX valor'
|