Hola, se requiere atrapar tres eventos aqui un ejemplo mejor que cien descripciones:void __fastcall TFMimo::TextoMouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y)
{
//Label = (TLabel *)Sender; no lo necesitas.
Label->Left = Label->Left+X - Label->Width /2;// para que lo tome por el centro
if(Label->Parent != QRBand2)//en esta banda no movimiento vertical
Label->Top = Label->Top+Y - Label->Height/2;
FDragging = True;//variable global indica en movimiento.
void __fastcall TFMimo::TextoMouseMove(TObject *Sender, TShiftState Shift,
int X, int Y)
{
if (FDragging)
{
Label = (TLabel *)Sender;
{
Label->Left = Label->Left+X- Label->Width /2;
if(Label->Parent != QRBand2)
Label->Top = Label->Top+Y - Label->Height/2;
}
}
}
void __fastcall TFMimo::TextoMouseUp(TObject *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y)
{
FDragging = false;
}
}