May 27, 20196 yr 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!
May 27, 20196 yr 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
Create an account or sign in to comment