Hi,
Weird, textEntry->Home() works for me... You may also try the following:
textEntry->Home();
textEntry->UpdateOffset();
gClient->NeedRedraw(textEntry);
BTW, which version of ROOT? On which platform?
Cheers, Bertrand.
-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On Behalf Of Barna Daniel
Sent: Monday, November 02, 2009 09:49
To: roottalk_at_root.cern.ch
Subject: [ROOT] Scroll to home in TGTextEntry
Hi,
How can I scoll to the home position in a TGTextEntry? I update its
content, which is longer than the entry widget, and I would like the
text to be scrolled and visible from the first character.
I tried Home() and SetCursorPosition() in vain.
Thanks
Received on Mon Nov 02 2009 - 11:02:29 CET
This archive was generated by hypermail 2.2.0 : Mon Nov 02 2009 - 11:50:03 CET