I think you need to first change the layout to inline (by UI or code), in order to delete an image.
but the attribute "wk anchor layout" is not settable with WP SET ATTRIBUTES http://doc.4d.com/4Dv16R6/4D/16-R6/4D-Write-Pro-Attributes.300-3605889.en.html so you need to use INVOKE ACTION instead. syntax: anchorLayout?value=inline http://doc.4d.com/4Dv16R6/4D/16-R6/Using-4D-Write-Pro-standard-actions.200-3605850.en.html#3610756 only then can you clear the selected image. > 2018/05/24 8:03、Justin Carr via 4D_Tech <4d_tech@lists.4d.com> のメール: > INVOKE ACTION(ak clear;ak current form) ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************