....
P = new TPlane(Dummy1);
p->onMouseDown = Plane1Mouse; //Plane1 is an existing TPlane control on wich the mouses event works well
gives the error: [bcc32 Erreur] UnitKubric.cpp(133): E2034 Impossible de convertir 'void (_fastcall * (_closure )(TObject *,TMouseButton,TShiftState,float,float,TVector3D &,TVector3D &))(TObject *,TMouseButton,TShiftState,float,float,TVector3D &,TVector3D &)' en 'TMouseEvent3D'
Contexte d'analyseur complet
UnitKubric.cpp(123): analyse : void _fastcall TForm11::iniPlane(TPlane *,TMaterialSource *,TPoint3D,TPoint3D)