How to move focus?

Discuss GUI programming with the RapaGUI plugin here

How to move focus?

Postby 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?
ilbarbax
 
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

Re: How to move focus?

Postby airsoftsoftwair » Wed Jan 04, 2017 11:16 pm

Yup, just set Window.ActiveObject to the desired object's id.
User avatar
airsoftsoftwair
 
Posts: 2025
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to RapaGUI

Who is online

Users browsing this forum: No registered users and 1 guest

cron