devilgoblin
Member
If you create a control by inheriting from Button and the control is named "CustomButton", when you add the control to the form, the button text is initially "CustomButton1". How can you make the initial text different than the name of the control?
For example, say I want the text to just display "Button".
I have tried setting the text on the New() constructor and overriding different subroutines, but have had no luck finding the correct subroutine or property to override.
For example, say I want the text to just display "Button".
I have tried setting the text on the New() constructor and overriding different subroutines, but have had no luck finding the correct subroutine or property to override.