Class Lscrollbar_button
|
Home
|
|
This is the button used on either side of the scrollbar. It is bases on the
Lbutton_pixmap class. The Lscrollbar creates two of these for each
scrollbar.
bg,
height,
include_objects,
on_mouse_ldbl,
on_mouse_ldn,
on_mouse_lup,
on_mouse_out,
on_mouse_over,
prepare_object,
width,
windowX,
windowY,
Returns the width of the pixmap which is 16 pixels.
Returns the height of the pixmap which is 16 pixels.
Uses the owners foreground color (:fg attribute).
Creates several instance variables for this object. Also creates the timer
used for repeating the on_mouse_ldn
event when the left mouse button is pressed and held. Determines which
pixmap to use based on the :otype.
These buttons always has a fixed size and location.
Tells Lscrollbar to move the scroller button.
This also starts a button timer so the on_mouse_ldn will continuously repeat
while the button is pressed.
Cancels the button timer.
Stops or delays the button timer. The scrollbars scroller button will stop
moving while the mouse is no longer over the button.
Restarts the button timer.
Makes an adjustment because the clientW of our parent takes the scrollbar
button into consideration but we are not in the parents client area.
Makes an adjustment because the clientH of our parent takes the scrollbar
button into consideration but we are not in the parents client area.
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.