0

Hi

Can you tell me how I will add labels to buttons in delphi? When I add labels to button the labels are coming under the button but I want to see the labels on the button just as tag of buttons can you help me about that problem.


Thank you for your help
Regards , Ferhat

3
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by Duoas
0

A TButton was not designed as a container component, so the IDE won't let you put labels in buttons. Why not just change the button's caption?

If you must, however, see this thread.

Hope this helps.

0

Im curious to know why a label is needed on a button... Maybe you mean so that once the button is clicked the text changes to something else?

Good information on that thread you offered btw Duoas.

0

Yeah, I just found it when reading here. I never knew you could do that before.

IMO, there is no reason to put labels on buttons except to get different fonts or font styles on a single button. My $0.02.

0

Because I want to see the speed button with image and hint on the button together. Image will be on the button and under the image the button's hint like that I mean Thank you for your help...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.