bleyden Posted May 27, 2019 Share Posted May 27, 2019 Hello! Came over to this forum since FM screwed up the community, so feel free to move this post around if I have it in the wrong place! Is there a way that I can put a transparent button over the body of my list layout, but only allow it to be clickable of the user first clicks to make that record the "active" record? Essentially, they would then be able to click to make the record the active row but remain on that layout, but then a second click would direct them to the appropriate layout? Can the button only be shown when the listed record is active? If so, what would my "Hide object when" formula look like? Thanks for the help, here's to hoping this forum makes up for the new FM Community! Link to comment Share on other sites More sharing options...
comment Posted May 27, 2019 Share Posted May 27, 2019 In theory, you could hide the button when = Get (ActiveRecordNumber) ≠ Get ( RecordNumber ) However, you would run into the problem of refreshing the layout when switching to another record (your first click). So it might be better to leave the button visible at all times, and make the script something like: If [ $$recordID = Get ( RecordID ) ] # DO SOMETHING Else Set Variable [ $$recordID; Value:Get ( RecordID ) ] End If Link to comment Share on other sites More sharing options...
bleyden Posted May 31, 2019 Author Share Posted May 31, 2019 That script works perfectly!!!! Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 1792 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