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 link() 精简打开网址

Delphi与正则表达式

Delphi 用firedac获取 sql server错误文本信息

Delphi 获取毫秒级时间戳

Delphi 分解时间 �cdecodedate、decodetime … decodedatetime …

Delphi 中的字符串

图解qq群如何快速找到自己想要的Delphi资源

Delphi f1026 file not found: ''quickrpt.dcu''解决方法

Delphi修改资源文件的代码

python4Delphi 示例应用程序在 Delphi 应用程序中运行简单的 python 脚本

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



打赏

取消

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

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

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

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

评论

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