How to move focus?

Discuss GUI programming with the RapaGUI plugin here
Post Reply
ilbarbax
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

How to move focus?

Post by ilbarbax » Wed Jan 04, 2017 1:15 pm

I wanted to do something like this on my rapagui ui:
Click on a button
do different stuffs
fill up a textentry with the results
move the focus on that textentry

I miss the last step. Up to the filling up I have no problem, to move the focus (that is in different pageview tab) on the textentry... I can't

Any hint?

User avatar
airsoftsoftwair
Posts: 2482
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: How to move focus?

Post by airsoftsoftwair » Wed Jan 04, 2017 11:16 pm

Yup, just set Window.ActiveObject to the desired object's id.

Post Reply