Control_SetFont

Metaclass Prototype: SetFont (FontResRef[, which = 0])

Description: Sets font used for drawing button, label or textarea text.

Parameters:

  • FontResref - a .bam resref which must be listed in fonts.2da
  • which - for textareas set to 1 if you want to set the initials font

Return value: N/A

See also: Window_CreateLabel


Back to function index, GUIScript introduction.