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

Font Size

Status
Not open for further replies.

Suwito

Programmer
Joined
Apr 24, 2001
Messages
16
Location
ID
Hi everyone,

As long i know fontsize step in vb is 0.75 point. (like 8.25->9->9.75->10.5->11.25........)

If i set fontsize of label object to 8 point, the actually result is 8.25 point

ex.
Label1.FontSize = 8 'Actually result is 8.25

Anyone knows how to make vb control fontsize to integer value. (like 8->9->10->11->12.......)

thx,
Suwito
 
Can you use the CInt(lngFontSize) function?
 
That is not solve a problem ?
 
That is not solve a problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top