警告对话框
来源:互联网 发布:js array转字符串 编辑:程序博客网 时间:2024/04/29 18:11
If AlertBox( TEXT_Supplier_Info || i_hWndFrame.tbwRequisitionLinePart.colVendorNo ||' -- ' || i_hWndFrame.tbwRequisitionLinePart.colVendorName || ' ?' , CAPTION_Warning , QUESTION_YesNo ) = IDNO
F1 HELP
Number AlertBox( sMessage, sTitle, nFlags )
String: sMessage Message
String: sTitle Message box title
Number: nFlags Message box style
The AlertBox function shows a translated message to the user and returns the user's response.
Parameter Description
sMessage Message text shown to the user. This parameter should be a translatable constant.
sTitle Text to be included in the title of the message box shown. This parameter should be a translatable constant. There are five predefined constants to use for this parameter: CAPTION_Critical, CAPTION_Error, CAPTION_Information, CAPTION_Question, CAPTION_Warning to use with this parameter.
nFlags Style of the message box that appears. This is a combination (using the Or (|) operator) for MB_* constants. There are some predefined combinations constants CRITICAL_*, WARNING_*, INFO_*, and QUESTION_* available for use with this parameter.
Returns
The return value is IDABORT, IDCANCEL, IDIGNORE, IDNO, IDOK, IDRETRY or IDYES corresponding to the button the user pressed in response to the message.
Comments
This function does not support parameters in the message text. To show a message with parameters, use the AlertBoxWithParams function.
Example
If AlertBox( TEXT_QuestionSave, CAPTION_Question, QUESTION_YesNo ) = ISYES
Call SalPostMsg( i_hWndFrame, PM_DataSourceSave, METHOD_Execute, 0 )
IFS Client Developer
- 警告对话框
- 警告对话框
- 警告对话框
- 警告对话框
- Layout式警告对话框
- IOS警告对话框
- AlertDialog 警告对话框
- 简单的警告对话框
- AlertDialog 警告对话框
- button弹出对话框或警告
- 警告对话框AlertDialog的使用
- Android AlertDialog警告对话框实现
- android 删除的警告对话框
- 弹出警告对话框JOptionPane.showMessageDialog
- Alertialog警告对话框的用法
- Android之警告对话框alertdialog
- 警告(alert 消息对话框)
- Android:对话框(12种:警告对话框&进度条对话框&日期对话框&时间对话框)
- 网络硬盘[U盘]大全
- 一个导出Excel非常快的类
- 口语3
- Java这十年 - CSDN (1)
- about #pragma
- 警告对话框
- 【放送醒目】本人发送一个纯C++的实现QQ内核的类【放送醒目】
- 如何在Linux下实现设备的配置(下)
- Java这十年 - 与Java相关的四十个名字 (2)
- 三级C语言上机考试注意事项
- 如何在Linux下实现设备的配置(上)
- QQ消息轰炸机源代码(VB.NET)
- 树型结构很重要
- 08 年中国 Linux 市场将翻倍 桌面应用在初期