January 29, 200520 yr 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?
January 31, 200520 yr 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.
Create an account or sign in to comment