Jump to content

Button in Portal focus problem


This topic is 6996 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a text field and a portal. While typing in the text field, I want to click on a portal row to insert a text at the cursor's position.

This is not working. AFAICT, the problem is that the button activating the script is in the portal, so the focus on the active field is lost as soon as the button is clicked.

I tried to pass the cursor position to the script as script parameter, but even that seems to be too late. The same script, if called by a button NOT in the portal, is getting the parameter just fine.

So how do I go about this, if at all possible?

Link to comment
Share on other sites

Um, maybe use a button outside the portal to store the necessary parameters and then click the button inside the portal? Bad UI, but I cannot think of anything easier right now.

Link to comment
Share on other sites

This topic is 6996 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.