Caption problem with derived TSpeedButton Component?
Posted on 1998-07-29
I really am having a problem with this one.
I have created a component, which is derived from the TSpeedButton.
The problem I am having is twofold:
(1) I would like to be able to set the caption of the derived component to a
default value eg: 'This button'
It then displays in the property editor, but not on the button.
(2) I would like to be able to allow the user to change the button caption
at design time, if he or she wishes to have a different caption to the
default one, but the default button caption is going to be linked to the
ButtonType property, which can be one of two values, and if the user changes
this property, the caption must be reflected.
This is quite a request I know!!!... all help will really be appreciated