Ver Mensaje Individual
  #4  
Antiguo 17-05-2004
Avatar de Picard
Picard Picard is offline
Miembro
 
Registrado: may 2004
Ubicación: Palamos
Posts: 23
Reputación: 0
Picard Va por buen camino
Asi:
Código:
void __fastcall TfrmPrincipal::PanelMapasMouseMove(TObject *Sender,
	  TShiftState Shift, int X, int Y)
{
	   /*definicion de mapX,mapY*/
	   long double mapX;
	   long double mapY;
	   PanelMapas->ScreenToMap(X,Y,mapX,mapY);
	   lblLatitudMouse->Caption = Format("%F deg",ARRAYOFCONST((long double)mapY,(long double)mapX)); 

}
Me da los siguientes errores:
[C++ Error] unitPrincipal.cpp(157): E2219 Wrong number of arguments in call of macro 'ARRAYOFCONST'
[C++ Error] unitPrincipal.cpp(157): E2188 Expression syntax
Responder Con Cita