Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2005 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!

Posted

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

 

This topic is 2005 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.