[Gambas-user] [Gambas Bug Tracker] Bug #1203: Button with round corners - round button

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Oct 22 20:26:28 CEST 2017


http://gambaswiki.org/bugtracker/edit?object=BUG.1203&from=L21haW4-

Comment #3 by Tobias BOEGE:

I'm almost sure I did this a long time ago already, but I can't find that project anymore. That's not a big loss either way, because it is not that hard to make a button in pure Gambas and you can do it yourself: have a look at the source code of the SwitchButton in gb.form. The hard (impossible?) part is to make your custom button look like a native one, and at that time I didn't spend even a second trying that. If you decide to delve into the code, notice that there is a Test/FSwitchButton test form in gb.form which you can play around with.





More information about the User mailing list