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