Style Italic via Typeface

Silentsea

Member
Licensed User
Longtime User
Hi there,

maybe there is a bug in setting the style of a label, setting it via typeface to bold runs well, italic didn't work as aspected. It will be normal on my devices. Setting it in the Designer works well. But in my case i have set labels programmatically.

Didn't work for me:

Code: Copy
Dim f As Typeface
lblDescription.Typeface = f.CreateNew(f.DEFAULT,f.STYLE_ITALIC)
 
Same here.
italic doesn't work for me either.
HTC HD2
Times New Roman

Maybe a different font?
 
Last edited:
Hi Erel,

Any chance of you posting the script you got to work on your device?

I'd like to run the exact script on mine.

No prob if not.
 
Tested again with Erel's code and not working on HD2.

Could it be the Android version?

2.3.7 here.
 
Back
Top