Ver Mensaje Individual
  #3  
Antiguo 30-11-2006
genius genius is offline
Miembro
 
Registrado: may 2006
Posts: 38
Reputación: 0
genius Va por buen camino
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'
Responder Con Cita