Mi pregunta es la siguiente ¿como puedo insertar en el titulo del formulario un texto diferente sin modificar el codigo original del mismo?
El componente al ser free viene con su codigo fuente.
Escrito 29 septiembre 2010 - 04:09
Escrito 29 septiembre 2010 - 04:18
Escrito 29 septiembre 2010 - 04:39
Escrito 30 septiembre 2010 - 01:29
Escrito 30 septiembre 2010 - 07:46
Buenas,
Y por qué no quieres tocar el fuente del componente? Esa modificación es bien sencilla
Nos leemos
Escrito 30 septiembre 2010 - 02:17
Buenas,
Y por qué no quieres tocar el fuente del componente? Esa modificación es bien sencilla
Nos leemos
Me hago la misma pregunta
Escrito 30 septiembre 2010 - 02:31
private procedure SetCaption(Value: string); public constructor Create(aOwner: TComponent); override; // esto dependerá de dónde derive el componente published property Caption: string read FCaption write SetCaption; ..... constructor LaClase.Create(aOwner: TComponent); begin inherited Create(aOwner); FCaption := 'En caption por defecto'; end; procedure LaClase.SetCaption(Value: string); begin if FCaption = Value then Exit; FCaption := Value; if Assigned(ElForm) then ElForm.Caption := FCaption; end;