Hi
Quick question: can a TLatex object be set non-editable or is there another way so it cannot be moved around in a plot?
Cheers,
delos
Hi
Quick question: can a TLatex object be set non-editable or is there another way so it cannot be moved around in a plot?
Cheers,
delos
Thanks couet
I did gPad->SetEditable(kFALSE);
but still I can move the text around.
Cheers,
delos
The coding in TText::ExecuteEvent is quite clear. It start with:
if (!gPad->IsEditable()) return;
So if the Pad is not editable nothing is done.
Hi
I had to
[code]TCanvas *fCanvas = M
fCanvas->cd();
fCanvas->SetEditable(kFALSE);
[/code]
and it works.
Thanks,
delos