Table of Contents

Codeunit "Confirm Management"

ID 27
Namespace: System.Utilities

Exposes functionality to raise a confirm dialog with a question that is to be asked to the user.

Properties

Name Value
Access Public
SingleInstance True
InherentEntitlements X
InherentPermissions X

Methods

GetResponseOrDefault

Raises a confirm dialog with a question and the default response on which the cursor is shown. If UI is not allowed, the default response is returned.

procedure GetResponseOrDefault(ConfirmQuestion: Text): Boolean

Parameters

Name Type Description
ConfirmQuestion Text

The question to be asked to the user.

Returns

Type Description
Boolean

The response of the user or the default response passed if no UI is allowed.

GetResponseOrDefault

Raises a confirm dialog with a question and the default response on which the cursor is shown. If UI is not allowed, the default response is returned.

procedure GetResponseOrDefault(ConfirmQuestion: Text, DefaultButton: Boolean): Boolean

Parameters

Name Type Description
ConfirmQuestion Text

The question to be asked to the user.

DefaultButton Boolean

The default response expected.

Returns

Type Description
Boolean

The response of the user or the default response passed if no UI is allowed.

GetResponse

Raises a confirm dialog with a question and the default response on which the cursor is shown. If UI is not allowed, the function returns FALSE.

procedure GetResponse(ConfirmQuestion: Text): Boolean

Parameters

Name Type Description
ConfirmQuestion Text

The question to be asked to the user.

Returns

Type Description
Boolean

The response of the user or FALSE if no UI is allowed.

GetResponse

Raises a confirm dialog with a question and the default response on which the cursor is shown. If UI is not allowed, the function returns FALSE.

procedure GetResponse(ConfirmQuestion: Text, DefaultButton: Boolean): Boolean

Parameters

Name Type Description
ConfirmQuestion Text

The question to be asked to the user.

DefaultButton Boolean

The default response expected.

Returns

Type Description
Boolean

The response of the user or FALSE if no UI is allowed.

See also