Mike Yearwood
Toronto, Ontario, Canada
General information
Title:
Cmd.width = caption.width
Hi
Is there any way to make the width of a command button equal to the width of the caption? Using TXTWIDTH() and the average width of the characters isn't working.
As an example, I'd have the caption "Testing..." on the command button.
When I'm done, I want it to look like this...
__________
[Testing...]
----------
Setting AutoSize = .T. doesnt work either as it results in something more like this...
______________
[ Testing... ]
--------------
It seems I'd need to sum the widths of each character and maybe add a little fudge factor.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only