Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An amusing bug I ran into... 1

Status
Not open for further replies.

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.
 
Hi!

It looks like a shadowed letters are wrapper different way than usual letters. This is, however, exactly for 1 point width. You can report this bug to MS!
Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top