Silverfrost Logo About Us | Contact Us

Set window position - %sp

This format code is used to initialise the position of the window on the screen. Integer arguments x and y are used to specify the position of the top left-hand corner of the window in screen co-ordinates.

For example:

i=winio@('%si?%spWhy is this stuck in the corner',0L,0L)

If more than one position format is used, the positions are added vectorially. This is particularly useful in conjunction with the get window position format %gp.



Copyright © 1999-2019 Silverfrost Limited