Ver Mensaje Individual
  #1  
Antiguo 31-01-2008
Avatar de MaMu
MaMu MaMu is offline
Miembro
 
Registrado: abr 2006
Ubicación: Argentina
Posts: 863
Reputación: 19
MaMu Va por buen camino
Key o Integer?

Código Delphi [-]
procedure TForm1.ListView2KeyPress(Sender: TObject; var Key: Char);
begin
case Key of
    VK_RIGHT : Image3.Left:=Image1.Left+1;
    VK_LEFT  : Image3.Left:=Image1.Left-1;
    VK_UP    : Image3.Top:=Image1.Top-1;
    VK_DOWN  : Image3.Top:=Image1.Top+1;
  end;
end;

ERROR: incompatible types: 'Char' and 'Integer'

Porque me salta este error?

Saludos
__________________
Código Delphi [-]
 
try 
ProgramarMicro(80C52,'Intel',MnHex,True);
except
On Exception do
MicroChip.IsPresent(True);
end;
Responder Con Cita