Hello. Thank you for contacting the Toolset support.
Are you talking about when you add link/button using Toolset form to delete the post from frontend? If no, can you please clarify at what point you expect to see such message?
Right.
That works too. But the button created by this code does not have the style parameters that a "proper" toolset button offers (e.g. icons).
Therefore I want to create a toolset button and use this shortcode in it.
Can you please try to use the following shortcode instead of [cred-delete-post].
[cred_delete_post_link action="delete" text="Delete %TITLE%" message_after="Post deleted" message="Are you sure you want to delete this post?" message_show="1"]
Please let me know if that help you to solve the issue.