Text wrapping on a Command Button

freem500

Registered User.
Local time
Today, 03:39
Joined
Apr 23, 2007
Messages
19
This is probably really obvious ... I have a command button with the word 'Related' on it. I also have some code behind it that turns the text bold and blue if it has been pressed. When I press the button, the word looks fine, but when I click on the form (ie in a blank area of the form), the text wraps so that the 'd' is on the line below.

Thanks for your help
 
You just need to make the button a little wider to be able to handle the extra space the words take up when they go bold.
 
Thanks - that was going to be my next step, but why does it sometimes wrap yet sometimes it's OK (when the text is bold)?
 
Thanks - that was going to be my next step, but why does it sometimes wrap yet sometimes it's OK (when the text is bold)?

Does that happen on the same computer, or different computers?
 
Just tried it on the laptop and it's exactly the same - fine when it first goes bold, but wraps when you click on the form.
 
Yes, that's what I've done, on the grounds I've now got a more serious problem ... new post to follow!
 

Users who are viewing this thread

Back
Top Bottom