-
1
- #1
chpicker
Programmer
- Apr 10, 2001
- 1,316
I ran into this amusing little bug today. Create a command button with the following properties:
width=198
fontsize=10
fontbold=.T.
wordwrap=.T.
caption='Assigned to vehicle in service, Save disabled'
enabled=.F.
Make sure you have everything precise, including the case of all words in the caption.
As you know, when you disable a command button, the caption becomes shadowed. In an object with the properties above, however, the caption is wrapped at a different point in the foreground than the shadow, making it look rather weird. If you change ANY of the above properties, the alignment corrects itself.
Thought you all might get a kick out of this. If it makes any difference, I'm running Win2k SP1 and VFP 6.0 SP5.
width=198
fontsize=10
fontbold=.T.
wordwrap=.T.
caption='Assigned to vehicle in service, Save disabled'
enabled=.F.
Make sure you have everything precise, including the case of all words in the caption.
As you know, when you disable a command button, the caption becomes shadowed. In an object with the properties above, however, the caption is wrapped at a different point in the foreground than the shadow, making it look rather weird. If you change ANY of the above properties, the alignment corrects itself.
Thought you all might get a kick out of this. If it makes any difference, I'm running Win2k SP1 and VFP 6.0 SP5.