by GDuncan (5 Submissions)
Category: Custom Controls/Forms/Menus
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (6 Votes)
A button that changes its display based upon the theme capabilities of the computer it is run on.
See screenshot to see what I mean.
If themes are detected buttons can:
Include Icons.
Be shown in Toolbar or Button style.
Offset the Caption and Picture so they can be drawn exactly where you want.
Draws icon disabled when button is disabled.
If no themes are detected you get a normal graphical button.
The button:
Changes display with theme change.
Contains No Timer.
Is in a single usercontrol.
You would use this button to provide backward comptability in your display whilst presenting modern buttons with icon support.
Suggestions, Votes and Feedback appreciated.
Update: Fixed bug on midi forms and added a deleteobject for the region.
Download XP Themed Button (19 KB)