Show dialog box based on Toolbar option pressed in form

Sort:
You are not authorized to post a reply.
Author
Messages
Saurabh
Veteran Member
Posts: 94
Veteran Member
    All
    I would like to add an additional prompt when the user Presses the DELETE button in a form (the button is next to Change and Next)

    Looking at the form properties i can hide(UnAssign) the action but ideally looking for a way to show a dialog box and if the user presses NO to return him back

    Any tips?

    regards
    Saurabh

    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      You can add a function that opens an Confirm Box (Yes or Cancel) and if the user selects Yes run the lawformDoFunction("D") but if they select Cancel you would return false. You would then replace the action taken on the Delete button so that your new function is called when the button is clicked.
      David Williams
      You are not authorized to post a reply.