Skip to content
Fabian Morón Zirfas edited this page Jun 13, 2025 · 2 revisions

Setting the focus on edittext.

var win = new Window("dialog");
var etext1 = win.add("edittext", undefined, "foo");
var etext2 = win.add("edittext", undefined, "bah");
win.add("button", undefined, "OK");
win.add("button", undefined, "Cancel");
etext1.active = true;
win.show();

Home

Clone this wiki locally