Versions Compared

Key

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

...

FocusWindow(Hwnd: Integer);

Source Code

...

Delphi

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

...