home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
STFORMAT
/
STF04.MSA
/
2ND_SIDE_GFADEMOS_WINDOW.LST
< prev
next >
Wrap
File List
|
1989-09-27
|
2KB
|
70 lines
' ******************************************************************
' * *
' * WINDOW.LST *
' * *
' * Written for ST FORMAT MAGAZINE *
' * *
' * This is not a program, merely a list of the commands directly *
' * available from Basic to control Windows. *
' ******************************************************************
'
'
' In GFA Basic there are 4 default windows, you can open these simply
' with the command:
' Openw n
'
' EG:
' For N=1 To 4
' Openw N ! note the windows have a title line by default
' Cls
' Print "Window ";N
' Next N
'
'
'
' If you want to put a title in the window, use the command
' Titlew N,"Window "+Str$(N)
' EG:
' Titlew 1,"Window 1"
'
'
' You can set the position of contact of these default windows by
' giving an x and y position
' EG:
' Openw 1,120,120
' Cls
' Print "Window 1"
'
'
' For a High resolution screen these co-ordinates will be:
'
' No. Top Left. Bottom Right.
' 1 (0,19) (x_pos,y_pos)
' 2 (x_pos,19) (639,y_pos)
' 3 (0,y_pos) (x_pos,399)
' 4 (x_pos,y_pos) (639,639)
'
' ie:
'
' --------------------------------- 19
' | | |
' | 1 | 2 |
' | | |
' | | |
' --------------------------------- y_pos
' | | |
' | 3 | 4 |
' | | |
' | | |
' ---------------------------------
' 0 x_pos 639
'
'
' When opening a window, space must be given for drop-down menu's
' On a high resoultion screen, this is 19 pixels, and on Med/Low 11 pixels.
'
' Openw 0 opens the whole screen without a title strip, or borders.
'
' For more flexible window management, you will have to use
' Windtab or directly use the AES to control them.