How To Create a Custom Button Control in Xojo – Part 3: Make Your Controls Inspector-Friendly

Originally published at: How To Create a Custom Button Control in Xojo – Part 3: Make Your Controls Inspector-Friendly – Xojo Programming Blog

In Part 1, we built a custom button control in Xojo by subclassing DesktopCanvas. In Part 2, we enhanced it with customizable colors, corner radius, and a disabled state. Now, let’s make the CanvasButton control even easier to use in the Xojo IDE by leveraging the Inspector Behavior feature. This allows you (and anyone using your control) to configure its appearance and…

4 Likes