August 6, 200718 yr Hi, I have a portal with a button on each row (each row is a button with text in front of it - so clicking anywhere on the portal row triggers the button). When the user clicks the button, detailed information about that record gets loaded onto the screen into some global fields, which can then be edited and resaved etc. This sets the scroll-bar on the portal back to the top, which I dont want. I unchecked the "Reset Scroll Bar When Exiting Record" box but no change. Is there anyway to make the portal stay where it is? Or failing that can I script a "goto" action that will go to a certail record on a screen refresh? Thanks in advance, Nick Edited August 6, 200718 yr by Guest
August 6, 200718 yr Save the current portal row in a global field or variable, then use the Go to Portal Row script step to return to it.
August 9, 200718 yr Author Thanks, that thread is very interesting. I have an extra layer of complexity. I perform a find on another layout and come back. This is where the "portal" reset is coming from. Is there any way to make the portal stay still? Failing that get a distance from the top of the portal to the record (or bottom or whatever) and go back to that?
August 9, 200718 yr "Is there any way to make the portal stay still?" Open a new window and do the work in that, then close it and return to the original window. Just watch for record locking because the selected record in the original window will still be open.
August 10, 200718 yr Author Thanks, that seems to work. This causes the screen to flash though. Anyway to prevent this? I tried using Freeze Window but did not help.
August 10, 200718 yr Use just one Freeze Window, but specify the new window to draw off-screen (say, -800 width and -600 height). Note that the new window trick doesn't look too good on WindOS because it'll un-maximise everything.
Create an account or sign in to comment