Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Newbie: Help with image buttons (View)

From: kimm2::mcmaster::ca at: 26-Sep-2002 2:12

Hi, I'm trying to make a cell phone demo for the computer which involves having the button on the phones to become active. For example... I want the demo to be able to have clickable 'numbers' to dial a phone number, and a clickable 'send' button to emulate placing a call. I run into a problem because, the phone's buttons are not rectangular in shape. I made the phone's buttons into separate images and overlayed them onto the main image of the phone, but the REBOL buttons are rectangular in shape, and have a shadow/border. Is there a way either to: 1) Make the buttons in REBOL/VIEW, have no border and no effect when the mouse clicks on it? (Buttons usually sink when clicked on). 2) Make a coordinate system over the image of the phone and detecting mouse clicks over that coordinate, particularily over buttons? Thanks! Matt