Originally published at: How To Create a Custom Button Control in Xojo – Xojo Programming Blog
This tutorial demonstrates how to create a custom button control in Xojo using the DesktopCanvas class. It covers defining properties, handling mouse events for visual feedback, and drawing the control in the Paint event. You can read more about DesktopCanvas in the Xojo Docs. Let’s begin! Add a Custom Class: In the Project Navigator, add a new Class. Name it CanvasButton.…
7 Likes