Jump to content

Recommended Posts

I have a list (not in a portal) and a button at the end of each row.  The button is to delete the entry if required.  The button shows up on every list entry and clutters up the look.  How can I get the button to only show for the selected record in the list please?

 

Thanks.

Share this post


Link to post
Share on other sites

Hi, And welcome to the forums. 

I think there are a few nuggets that may work for you.

 

Delete Row.fmp12

Share this post


Link to post
Share on other sites
9 hours ago, Greg58 said:

 How can I get the button to only show for the selected record

I believe it was for this reason that the Get(ActiveRecordNumber) function was added in version 17 (although it still doesn't work in List view without refreshing the object).

If you're using version 16, you will have to create a script that does:

Set Variable [ $$activeRecordID; Value:Get (RecordID) ]
Refresh Object [ Object Name: "myButton" ]

and trigger it to run OnRecordLoad.

Then give your button an object name and make it hide when:

$$activeRecordID ≠ Get (RecordID)

 

  • Like 2

Share this post


Link to post
Share on other sites

Fantastic.  Worked just how I wanted.  Thanks for your help.

Share this post


Link to post
Share on other sites
19 hours ago, Ocean West said:

Hi, And welcome to the forums. 

I think there are a few nuggets that may work for you.

 

Delete Row.fmp12 220 kB · 6 downloads

Thanks very much for your help.  I got a few good tips from your suggestion.

Share this post


Link to post
Share on other sites

how ??? is the delete button on hover is getting visible 

kindly explain plz

13 hours ago, comment said:

I believe it was for this reason that the Get(ActiveRecordNumber) function was added in version 17 (although it still doesn't work in List view without refreshing the object).

 

 

 

there are encrypted HTML mindmaps that doesn't work without refreshing when used in web viewer

21 hours ago, Ocean West said:

Hi, And welcome to the forums. 

I think there are a few nuggets that may work for you.

 

Delete Row.fmp12 220 kB · 7 downloads

plz consider adding attachment icon on topic hope i am clear example like in gmail

Screenshot 2019-02-08 at 07.46.46.png

Edited by Dr.Gopala krishnam raju AMBATI

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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