Skip to Content

public void onActionDelete( wdEvent ){

    IWDControllerInfo info = wdControllerAPI.getViewInfo().getViewController();

    String dialogText = “Are you sure?”;

    IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().

        createConfirmationWindow(dialogText,wdThis.WD_EVENTHANDLER_CONFIRM_YES, “Delete”);

    dialog.addChoice(info.findInEventHandlers(“confirmNo”), “Cancel”);

    dialog.setOnClose(wdThis.WD_EVENTHANDLER_CONFIRM_NO, true);

    dialog.setWindowSize(300, 50);



To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply