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

时间:2017-07-04 00:32:53   收藏:0   阅读:542
//显示消息提示框
//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;

 

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!