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.

相关阅读 >>

橙子作品 bds/cds 下的 web deploy 工具

Delphi combobox的属性和事件、及几个鼠标事件的触发

Delphi sysutils.wraptext - 换行

Delphi generics collections tdictionary 用法

Delphi 实现程序放放多个进程条

Delphi动态创建组件,并释放内存

Delphi在64位系统下写注册表注意事项

Delphi 获取unixtime

使用滑块实现图片的放大和缩小

Delphi基于sobel算子的图像边缘检测

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



打赏

取消

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

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

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

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

评论

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