Come on Sergey I gave you all the ingredients. You also want the recipe ;-)
Put the following text in the caption of a command button "Sdolrs dios mirtns ermv dts pldes"
height : 40
width : 137
WordWrap : .t.
So like I said when disabled this looks weird.
>Hi Denis,
>
>Only you would know that because you didn't share your repro code with us. :)
>
>>I got that in VFP 7 and tested it under version 9 with the same result.
>>
>>I have a command button with some text on it that spreads over two lines.
>>
>>If I disable that button then there is an overlap of text on this button.
>>Original text with enabled color and original text with disabled color.
>>
>>The disabled text takes less space than the enabled text.
>>
>>It appears that this will happen when the text is to close to the edges of the command button.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé