ssseeesss Posted May 9, 2010 Posted May 9, 2010 Is there a way to maintain the cursor position in a field when click on a portal button? The only way I could think of is to set a OnObjectExit script trigger to remember the current position.
LaRetta Posted May 9, 2010 Posted May 9, 2010 I believe that is the best method. You can set a global variable $$position with Get ( ActiveSelectionStart ). But what are you doing in the portal row and what is the script you are activating? You may need to capture more than position in the field in the portal if your portal button navigates you away from that parent record or portal row. But you show vs. 8.5. If you have moved up, you might want to update your profile. :wink2:
ssseeesss Posted May 16, 2010 Author Posted May 16, 2010 I figured out an alternative solution without using trigger. I laid out a series of transparent buttons on each portal row and used insert calculated result [getNthrecord(...)] script step to insert text. It worked great. You won't lose current cursor position. The only downside is that you can't scroll the portal.
comment Posted May 16, 2010 Posted May 16, 2010 I laid out a series of transparent buttons on each portal row Huh? Did you perhaps mean next to each portal row?
Recommended Posts
This topic is 5305 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 accountSign in
Already have an account? Sign in here.
Sign In Now