I have an application that uses a customtreecontrol. Labels on the
nodes can be modified programatically. This works successfully, except
the horizontal scrollbar is not updated.
I would like to have the scrollbar appear once the label becomes too
long to be displayed in the tree control's visible window. As the
label continues to grow, the scrollbar should be synchronised so that
it can always scroll the correct amount so that all of the tree
contents can be see.
Any suggestions how do achieve this?
···
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
Hi,
I have an application that uses a customtreecontrol. Labels on the
nodes can be modified programatically. This works successfully, except
the horizontal scrollbar is not updated.
I would like to have the scrollbar appear once the label becomes too
long to be displayed in the tree control's visible window. As the
label continues to grow, the scrollbar should be synchronised so that
it can always scroll the correct amount so that all of the tree
contents can be see.
Any suggestions how do achieve this?
It's so sad no one is reading the countless messages on this forum
asking for these basic questions:
1) Platform, Python and wxPython versions;
2) For AGW widgets (like CustomTreeCtrl), are you using the SVN
version of it or the default one shipped with the wxPython release?
3) Sample app that reproduces the problem.
On top of that, the scrollbars are not updated *while an item is being
edited* or after the editing is finished?
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.
The Doomed City: Removal Group: the nightmare <==
···
On 23 April 2010 20:25, Reticulatus wrote:
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
Apologies for lack of information
However, I discovered today that I could call the tree's
AdjustMyScrollbars() method in the event handler and that does what I
need.
Thank you.
···
On 23 Apr, 20:41, Andrea Gavana <andrea.gav...@gmail.com> wrote:
Hi,
On 23 April 2010 20:25, Reticulatus wrote:
> I have an application that uses a customtreecontrol. Labels on the
> nodes can be modified programatically. This works successfully, except
> the horizontal scrollbar is not updated.
> I would like to have the scrollbar appear once the label becomes too
> long to be displayed in the tree control's visible window. As the
> label continues to grow, the scrollbar should be synchronised so that
> it can always scroll the correct amount so that all of the tree
> contents can be see.
> Any suggestions how do achieve this?
It's so sad no one is reading the countless messages on this forum
asking for these basic questions:
1) Platform, Python and wxPython versions;
2) For AGW widgets (like CustomTreeCtrl), are you using the SVN
version of it or the default one shipped with the wxPython release?
3) Sample app that reproduces the problem.
On top of that, the scrollbars are not updated *while an item is being
edited* or after the editing is finished?
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."http://xoomer.alice.it/infinity77/
==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.http://thedoomedcity.blogspot.com/2010/03/removal-group-nightmare.html<==
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visithttp://groups.google.com/group/wxPython-users?hl=en
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en