What does your button do?
Perform a Script?
Or the Delete Portal Row action?
And place the button inside the portal row not next to the portal. This will ensure that the mouse click on the button will select the portal to be deleted.
The button executed a script.
I think the combination of placing the buton in the portal and using 'Delete Portal Row', which I'd never noticed before, will solve all my issues.
Thank you for the assistance.
I use a script myself. Check out the Delete portal row script in this file: https://www.dropbox.com/s/jt09b82i0xijbu3/FMP%20Bugs.zip
It can be imported error free into any database file. (The zip archive contains both .fp7 and .fmp12 versions of the database, the script works the same in both.) The key is in passing the correct data to the script as a script parameter and tool tips and conditional formatting also make the process more user friendly than the basic delete portal step.