Hmmm. I tried the MyWindow02.Focus() and also MyWindow02.ActivateWindow but neither gave focus to MyWindow02.
If I recreate the windows seperately...
then the last window created has focus.
However, when I use the method above MyWindow01 keeps focus.
Filax, yep, I want MyWindow02 to have focus when created.
If I recreate the windows seperately...
MyWindow01=IGL_Window.Create("TG_Window1",50,50,180,150) MyWindow02=IGL_Window.Create("TG_Window2",150,150,180,150)
then the last window created has focus.
However, when I use the method above MyWindow01 keeps focus.
Filax, yep, I want MyWindow02 to have focus when created.