Ver Mensaje Individual
  #7  
Antiguo 27-12-2005
Avatar de vtdeleon
vtdeleon vtdeleon is offline
Miembro
 
Registrado: abr 2004
Ubicación: RD & USA
Posts: 3.236
Reputación: 24
vtdeleon Va por buen camino
Cita:
Empezado por pepecharlie67
...¿como puedo hacer para asignar a un string el texto de un edit?...
Código Delphi [-]
var
 texto:string;
begin
  texto:='hello';
  edit1.text:=texto;
  texto:=edit1.text;
end;
Cita:
Empezado por pepecharlie67
Me dado cuenta que no son del mismo tipo,ya que el texto del edit es de tipo TCaption.
No importa!, son equivalentes
Cita:
Empezado por Ayuda Delphi
TCaption is the type of the Caption property.
Description

TCaption is the string that represents the caption or text of a control.
Código Delphi [-]
type TCaption = type string;
__________________
Van Troi De León
(Not) Guía, Code vB:=Delphi-SQL, ¿Cómo?
Viajar en el tiempo no es teóricamente posible, pues si lo fuera, ya estarían aqui contándonos al respecto!
Responder Con Cita