Confirmation prompt dialogs

Function group SPO1

This function group contains the following function modules:

POPUP_TO_CONFIRM_STEP
With this function module you create a dialog box in which you ask the user during an action, whether he or she wishes to perform the step. You pass the title and a two-line question. The user must choose Yes, No or Cancel.
The possible responses are provided by the function module.
In the interface, the response "Yes" is pre-selected, but "No" can also be pre-selected via a parameter.
The user response (Yes, No or Cancel) is returned in a parameter.
POPUP_TO_CONFIRM_WITH_MESSAGE
With this function module you create a dialog box in which you inform the user about a specific decision point during an action. You pass a title, a three-line diagnosis text and a two-line question, which he or she must answer with Yes, No or Cancel.
The possible responses are provided by the function module. In the interface the response "Yes" is pre-selected, but "No" can also be pre-selected via a parameter.
The user response (Yes, No or Cancel) is returned in a parameter.
POPUP_TO_CONFIRM_WITH_VALUE
With this function module you create a dialog box in which you ask the user, during an action, whether he or she wishes to perform a processing step with a particular object. You pass a title, a two-line decision question and the object, which is inserted between the two parts of the question. The user must choose Yes, No or Cancel.
The possible responses are provided by the function module.
In the interface the response "Yes" is pre-selected, but "No" can also be pre-selected via a parameter.
The user response (Yes, No or Cancel) is returned in a parameter.
POPUP_TO_CONFIRM_LOSS_OF_DATA
With this function module you create a dialog box in which you ask the user, during an action, whether he or she wishes to perform a processing step with loss of data. You pass the title and the two-line question. The warning that data are lost and the possible responses are provided by the function module. The user must answer "Yes", "No" or "Cancel".
In the interface the response "No" is pre-selected and can not be changed.
The user response (Yes, No or Cancel) is returned in a parameter.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/588201/viewspace-907598/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/588201/viewspace-907598/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值