Button_EnableBorder

Prototype: GemRB.EnableButtonBorder (WindowIndex, ControlIndex, BorderIndex, enabled)

Metaclass Prototype: EnableBorder (BorderIndex, enabled)

Description: Enable or disable specified button border/frame/overlay.

Parameters:

  • WindowIndex, ControlIndex - the control’s reference
  • BorderIndex - 0, 1 or 2
  • enabled - boolean, true enables the border

Return value: N/A

See also: Button_SetBAM, Button_SetFlags, Button_SetBorder


Back to function index, GUIScript introduction.