Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FocusWindow(Hwnd: Integer);

Source Code:

Code Block
languagedelphi
titleScripting
linenumberstrue
collapsetrue
frm := newform(200,200, 'My Window');
frm.show;
focuswindow(frm.handle);  // not really needed here