nick_jp Posted August 6, 2007 Posted August 6, 2007 (edited) 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, 2007 by Guest
Vaughan Posted August 6, 2007 Posted August 6, 2007 Save the current portal row in a global field or variable, then use the Go to Portal Row script step to return to it.
comment Posted August 6, 2007 Posted August 6, 2007 This thread might be useful: http://fmforums.com/forum/showtopic.php?tid/187954/
nick_jp Posted August 9, 2007 Author Posted August 9, 2007 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?
Vaughan Posted August 9, 2007 Posted August 9, 2007 "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.
nick_jp Posted August 10, 2007 Author Posted August 10, 2007 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.
Vaughan Posted August 10, 2007 Posted August 10, 2007 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.
Recommended Posts
This topic is 6316 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