User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Pascal and Delphi section within the Software Development category of DaniWeb, a massive community of 391,768 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,159 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Pascal and Delphi advertiser:
Views: 833 | Replies: 5 | Solved
Reply
Join Date: Nov 2007
Posts: 29
Reputation: ferhatkuskaya is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
ferhatkuskaya ferhatkuskaya is offline Offline
Light Poster

label

  #1  
Nov 17th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,809
Reputation: Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold 
Rep Power: 11
Solved Threads: 184
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: label

  #2  
Nov 17th, 2007
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.
Reply With Quote  
Join Date: Nov 2007
Posts: 70
Reputation: squidd is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
squidd squidd is offline Offline
Junior Poster in Training

Re: label

  #3  
Nov 17th, 2007
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.
Last edited by squidd : Nov 17th, 2007 at 6:24 pm.
Reply With Quote  
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,809
Reputation: Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold 
Rep Power: 11
Solved Threads: 184
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: label

  #4  
Nov 17th, 2007
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.
Reply With Quote  
Join Date: Nov 2007
Posts: 29
Reputation: ferhatkuskaya is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
ferhatkuskaya ferhatkuskaya is offline Offline
Light Poster

Re: label

  #5  
Nov 26th, 2007
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...
Reply With Quote  
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,809
Reputation: Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold 
Rep Power: 11
Solved Threads: 184
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: label

  #6  
Nov 26th, 2007
Ah, I see. You can do that with a TBitBtn.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Pascal and Delphi Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Pascal and Delphi Forum

All times are GMT -4. The time now is 4:33 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC