SelectedFontStyle()

Syntax

Style = SelectedFontStyle()

Description

Returns the style of the font chosen by the user with the FontRequester(). 'Style' 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 

Supported OS

Windows, AmigaOS, Linux

Requester - Index