From: Itamar M. L. J. L. <ita...@gm...> - 2016-01-03 23:49:20
|
Hi! #include "hwgui.ch" Function main LOCAL oDlg, cGetA := space(5), cGetB := space(5), oBt, oSay INIT DIALOG oDlg CLIPPER NOEXIT AT 100,100 SIZE 500,200 @ 10,10 get oGetA var cGetA size 100,20 picture "!!!!!" @ 10,40 get oGetB var cGetB size 100,20 picture "!!!!!" @ 10,70 say oSay CAPTION "Press OwneButton! It not pass focus to oGetB !" size 400,30 @ 10,100 ownerbutton oBt TEXT "Click-me" Size 90,30 on click {|| oGetB:SetFocus(),.T. } ACTIVATE Dialog oDlg This behavior is new because works until... 2.17,18,19... version something in the code off it now. Best regards, Itamar M. Lins Jr. |