home *** CD-ROM | disk | FTP | other *** search
- cArrowButton 1.0
- A RB class (canvas) by Michael Rosander, copyright © 1999
- November 7, 1999
- ------------------
- It is free to use in any RB project. However, if you use it give credit
- to me in the about box or documentation of the application.
- The algorithm for detecting if the cursor is within an arrow was translated to
- RB by Doug Holton - thanks!
-
- michael.rosander@home.se
- http://www.liu.se/ipp/rb/rb.html
-
-
- Properties:
- direction as integer
- 0 = right (default)
- 1 = left
- 2 = up
- 3 = down
-
- oneClick as boolean
- true = one "action event" for each click
- (if ctrl is down when mouse is down then "action events" fires more often)
- false = allow multiple "action events" if the mouse is kept down (default)
-
- bgColor as color
- The background color - default is fillColor
-
- enabled as boolean
- false = the button is dimmed and it doesn't work...
-
- The size of the button is detemined by the size of the canvas...
-
-