Ver Mensaje Individual
  #5  
Antiguo 04-03-2008
rauros rauros is offline
Miembro
 
Registrado: feb 2008
Ubicación: Alicante - Sax / Sax - Alicante
Posts: 235
Reputación: 17
rauros Va por buen camino
Código Delphi [-]
with TRegistry.Create do
  try
    RootKey:= HKEY_CURRENT_USER;
    if OpenKey('\Software\edittxt',TRUE) then
    begin
      WriteInteger('top',form1.top);
      CloseKey;
      WriteInteger('left',form1.left);
      CloseKey;
    end;
  finally
    Free;
  end;
end;

Esto me da un error de los que obligan a cerrar la aplicación. Lo activo con CloseQuery.
Responder Con Cita