delphi - System.RunError


本文整理自网络,侵删。

 学习官方示例 - System.RunError
unit Unit1;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;

type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

var P: Pointer;

procedure TForm1.Button1Click(Sender: TObject);
begin
if P = nil then
RunError(204);
end;

end.

相关阅读 >>

Delphi入门语法

Delphi tfilestream 流操作2

Delphi 如何将颜色值转换为html格式?

Delphi fdmemtable内存表操作

Delphi firedac内存表

Delphi windows 编程[2] - 学习窗体生成的过程二

Delphi idhttpserver接收http get请求解码问题

Delphi中设置条件断点

Delphi pagecontrol当前页可视

Delphi tstringbuilder详解

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...