Vertival scrolling stops at the position of the first shape and ends at the position of the last shape. It's OK.
But if there is/was anything selected within the tree, it doesn't stop anymore and runs out of the visible part.
This seems to be a bug in teetree v2 (IDE is Delphi 5).
teetree v2 again vertical scrolling
Hi,
How are you scrolling vertically? With the scrollbars or with the wheelbutton?
This is not a bug: 'running out of the visible part' allows people to add shapes anywhere.
It depends how you have configured the scrolling of the wheel:
wnSelection: scrolling the wheel will change the selected node
wnVertScroll: scrolling the wheel will scroll the page (indefinitely) (if tree has focus)
I think you are experiencing the following:
You run the application
You start scrolling with the wheelmouse: -> vertical scrolling stops
You then select a shape
You start scrolling with the wheelmouse: -> vertical scrolling does not stop
The difference is the fact that in the second way, the tree has the focus.
To have the second behavior, you do not even have to select a shape. A click somewhere on the tree panel would give the same result.
Would you like to have the first behavior also if the tree is in focus?
Regards,
Tom.
Regards,
Tom.
How are you scrolling vertically? With the scrollbars or with the wheelbutton?
This is not a bug: 'running out of the visible part' allows people to add shapes anywhere.
It depends how you have configured the scrolling of the wheel:
wnSelection: scrolling the wheel will change the selected node
wnVertScroll: scrolling the wheel will scroll the page (indefinitely) (if tree has focus)
I think you are experiencing the following:
You run the application
You start scrolling with the wheelmouse: -> vertical scrolling stops
You then select a shape
You start scrolling with the wheelmouse: -> vertical scrolling does not stop
The difference is the fact that in the second way, the tree has the focus.
To have the second behavior, you do not even have to select a shape. A click somewhere on the tree panel would give the same result.
Would you like to have the first behavior also if the tree is in focus?
Regards,
Tom.
Regards,
Tom.
-
- Newbie
- Posts: 6
- Joined: Tue Mar 01, 2005 5:00 am
scrolling with the wheelmouse
Hi,
thank you for your reply.
Indeed we want the first behavior also if the tree is in focus. Our user are not allowed to add shapes, because the tree is a result of a database-query but they want to scroll with the wheelmouse.
How can I do this?
Sincerly
thank you for your reply.
Indeed we want the first behavior also if the tree is in focus. Our user are not allowed to add shapes, because the tree is a result of a database-query but they want to scroll with the wheelmouse.
How can I do this?
Sincerly