ElKurgan al poner:
Código Delphi
[-]TextFecha := Item.SubItems[1];
Código Delphi
[-]procedure TRegistroForm.ListVehicSelectItem(Sender: TObject;
Item: TListItem; Selected: Boolean);
begin
if Selected then
begin
TextCH := Item.Caption;
TextFecha := Item.SubItems[1];
end;
end;
Da el siguiente error:
[Error] Registro.pas(532): Record, object or class type required
Luego y si lo pongo como explicaba anteriormente:
Código Delphi
[-]TextFecha := Item.SubItems.Text;
En la variable TextFecha se me guarda de los el contenido de los SubItems de la siguiente manera.
Estoy al volverme loco, no se que hacer...
Salu2 y Gracias de antemano.