Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to return focus
#2
it fails because the control doesn't have focus when you click the button
do this
Code:
Copy      Help
,case 4 ;;Add sub str
,_s.getsel(0 0 id(3 hDlg))
,str s1.from("$inp_" _s "$")
,s1.setsel(0 id(3 hDlg))


Messages In This Thread
How to return focus - by win - 04-11-2019, 09:35 PM
RE: How to return focus - by Kevin - 04-11-2019, 10:18 PM
RE: How to return focus - by win - 04-11-2019, 11:45 PM
RE: How to return focus - by Kevin - 04-12-2019, 12:17 AM
RE: How to return focus - by win - 04-12-2019, 12:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)