TextGadget()

Syntax

TextGadget(#Gadget, x, y, Width, Heigth, Text$ [, Flags])

Description

Creates a Text gadget in the GadgetList. A TextGadget is a basic text area. The content can be changed with the commands SetGadgetText() and GetGadgetText().

'Flags' are optionnals and can be composed of one of the following constants:
  #PB_Text_Center : The text is centered in the gadget 
  #PB_Text_Right  : The text is right aligned. 
  #PB_Text_Border : A sunken border is drawn around the gadget. 

Supported OS

Windows, AmigaOS, Linux

Gadget - Index