Class Lscrollbar_scroller
|
Home
|
|
This is the scroller button used inside the Lscrollbar for scrolling. This button can be
clicked on and dragged to scroll the content of the scrollbars owner
object. Every Lscrollbar creates one of these
objects. It is based on the Lbutton_pixmap object.
Supports the :otype attributes of :vertical and :horizontal
Returns true because the scroller button can always be dragged.
Uses the owners foreground color (:fg attribute).
The scroller button always starts out with a fixed position that is
dependant on the owners (Lscrollbar) position
and a fixed size that is dependant on the owners (Lscrollbar) total_size and client_size. It prepares :horizontal
scroller buttons slightly different from vertical ones.
Repaints the client area to make sure we can see the button when our owner
(Lscrollbar) is moved.
Controls the dragging of the scroller button and triggers the appropriate
:on_scroll event to the owner object (Lscrollbar).
Remembers the distance from the current mouse position to the top of the
scroller button. This is used when dragging the scroller button to keep the
movement consistent. Also starts the dragging process.
Forgets the remembered distance.
Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.