Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PictureButton Rollover effect
#4
For screens with a lot of controls/buttons with click/hover/rollover effect I've used the alpha channel a lot to detect if the mouse was over a certain area.
You can make your controls alpha-color &HFE and downwards and then check with _Alpha32(Point(_mouseX,_mouseY)) for the alpha value...
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
PictureButton Rollover effect - by TempodiBasic - 10-19-2024, 12:00 AM
RE: PictureButton Rollover effect - by Pete - 10-19-2024, 04:22 AM
RE: PictureButton Rollover effect - by mdijkens - 10-22-2024, 10:55 AM



Users browsing this thread: 2 Guest(s)