← All built-ins / ui_pos()

ui_pos()

ui_pos(...$args): int

Parameters

NameTypeDescription
$handleintwindow/control handle
$xintleft
$yinttop

Return value

Moves the window/control.

Example

echo "ui_pos($win, 200, 150);";
ui_pos($win, 200, 150);

This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.

See also

ui_size()