Writes a string on the title line of a window.
TitleW [#] n, txt$
wh:integer or Handle expression
txt$:sexp
TitleW #n writes the string txt$ on the title line of the window n. n can have the values of 0 to _maxInt.
For a form created without a window number, TitleW takes its window handle from the hWnd property.
TitleW # 1, " GFA-BASIC window "
OpenW # 1, 10, 10, 200, 100, -1
OpenW 2, 10, 120, 300, 100, -1
Win_2.Caption = " GFA-BASIC window "
Windows opened with a number above 31 are accessed using the name Form(number). For instance, OpenW 40 is used as Form(40).Activate and the events have the format Sub Form_Activated(Index%) where Index% the number of the form specifies.
SizeW, CloseW, MoveW, TopW, FullW, ClearW, OpenW
{Created by Sjouke Hamstra; Last updated: 25/10/2014 by James Gaite}