MariaB
1
Hello,
I would like to anchor a pad in a canvas in order to make it impossible to accidentally drag it from its original position.
I found old topics suggesting the solution:
Anyway, this also prevents from zooming in a plot.
Is there any way to make it possible?
Thanks a lot,
Maria Brigida
couet
2
Which ROOT version are you using ? on which platform ? if I do:
gPad->FindObject(“TFrame”)->SetBit(TBox::kCannotMove)
the pad is fixed but I can zoom the histogram in it.
MariaB
3
Thank you.
It now works for me (root 6.04/02). I assume something else went wrong last time.
Cheers!