I created an illuminated pushbutton control and decided to post it here for anyone else to use.
Properties included: images for the 3 states of the button (Normal, Pressed, and Illuminated), button OutputType, ValueToWrite , PLCAddressVisible, PLCAddressClick, PLCAddressValue, and MinimumHoldTime.
I have included the images I use but this control uses images you supply so you can make the button look any way you like.
I did not include a text area on the legend plate for 2 reasons:
1. I do not always want a button with a label.
2. I wanted to be able to make the text area as large or small as needed.
Depending on what version you are running, you may have to change
SubScriptions.ComComponent To SubScriptions.CommComponent