re: setFocus()
- Posted by Wolf <wolfritz at KING.IGS.NET> Nov 25, 2002
- 464 views
Forgot to ask, ages ago, why this doesn't even work anymore. include win32lib.ew -- ver. 0.55+ constant mywin=create(Window,"TestFocus",0,10,10,200,200,0), btn1=create(PushButton,"One",mywin,10,10,60,25,0), btn2=create(PushButton,"Two",mywin,10,50,60,25,0) showWindow(mywin,SW_NORMAL) setFocus(btn2) WinMain(mywin,Normal) ----end---- I've tried 'wrapping' the setFocus() in an onOpen(), used setVisible()'s, tried without showWindow(), etc, and it still don't wanna...