SelectedFontStyle()

Syntax

Style = SelectedFontStyle()
Description
Returns the style of the font chosen by the user with the FontRequester().

Parameters

None.

Return value

The style of the font chosen by the user with the FontRequester(). It can contain one or several of the following values:
  #PB_Font_Bold  : Font is bold.
  #PB_Font_Italic: Font is italic.
To test if a value is present, use the '&' (bitwise AND) operator:
  If SelectedFontStyle() & #PB_Font_Bold
    ; The font is bold
  EndIf

See Also

FontRequester()

Supported OS

All

<- SelectedFontSize() - Requester Index