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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimum label height

Status
Not open for further replies.

wilfranz

Technical User
Oct 4, 2003
122
US
Hello friends,

It appears that somewhere between VFP6 and VFP8 the base class Label control has developed a "safety" feature which places a minimum height below which you can't set the height. Example: For Arial 8 pt. the minimum label height seems to be 16 pixels, whereas the actual font height height (as reported by the .TextHeight method) is 14 pixels, which should allow for a squeeze of at least 2 fewer pixels of spacing.

Is there any way to overcome this default minimum? I recently had a requirement to squeeze 4 lines together really tightly and I found I couldn't do it. Back in VFP6 this was no problem.

TIA

wilfranz



Sometimes I need to squeeze
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top