首页 > Windows开发 > 详细

AlertWindowManager 弹出提示窗口使用帮助(下)

时间:2017-07-04 00:32:53      阅读:542      评论:0      收藏:0      [点我收藏+]
//显示消息提示框
//function TdxAlertWindowManager.Show(const ACaption, AText: string; AImageIndex: TcxImageIndex = -1): TdxAlertWindow;
//ACaption显示标题
//AText消息内容
//AImageIndex显示图片索引
procedure TForm1.Button1Click(Sender: TObject);
begin
  dxAlertWindowManager1.Show(消息提示框标题, 这里是消息内容,这里是消息内容!);
end;
//dxAlertWindowManager点击按钮事件
procedure TForm1.dxAlertWindowManager1ButtonClick(Sender: TObject; AAlertWindow: TdxAlertWindow; AButtonIndex: Integer);
begin
  if AButtonIndex = 0 then
    ShowMessage(Button1)
  else if AButtonIndex = 1 then
    ShowMessage(Button2)
  else if AButtonIndex = 2 then
    ShowMessage(Button3);
end;

 

AlertWindowManager 弹出提示窗口使用帮助(下)

原文:http://www.cnblogs.com/win32pro/p/7113604.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!