Requestfont / formating a Textarea

BlitzPlus Forums/BlitzPlus Programming/Requestfont / formating a Textarea

ozzi789(Posted 2009) [#1]
Hi

Im trying to format a Textarea, to do that one can use Requestfont, but if i want to format a textarea without requestfont how should i do that?

the returnend number is allways diffrent (handle?)

thanks for your help, ozzi


ozzi789(Posted 2009) [#2]
font = RequestFont ()

name$ = FontName$ (font)
groese = FontSize (font)
style = FontStyle (font)
If style And 1 Then
fett=1
EndIf
If style And 2 Then
kursiv=1
EndIf
If style And 4 Then
unterstrichen=1
EndIf


got it thanks *CLOSE*