CompareDateTime、CompareDate、CompareTime 都是对比时间的函数; CompareDate 只对比日期部分, CompareTime 之对比时间部分. 两...
有些时候,我们需要我们的程序只运行一个实例,笔者自己作程序也有这样的情况,于是自已探究一番。忙活一阵后,总算小有收获,不...
1]选中对应的Form, 2]在Object Inspector里的Name修改, 3]回车,即可. Delphi的IDE对应做了以下五处修改: {===================...
中国的区域设置 ID 是 2052, 如果经常打开微软软件的安装目录应该经常见到. 获取很简单, 有现成的 API 函数: GetThreadLocale. b...
SysUtils.DecodeDate(); SysUtils.DecodeDateFully(); SysUtils.DecodeTime(); DateUtils.DecodeDateTime(); DateUtils.DecodeDa...
Delphi 具有功能强大、简便易用和代码执行速度快等特点,是全球公认的快速应用开发工具技术的先驱者。但是在对串口通信的控制上D...
DateOf、TimeOf、YearOf、MonthOf、WeekOf、DayOf、HourOf、MinuteOf、SecondOf、MilliSecondOf函数用于提取时间成分 它们的参数...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;...
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, For...
本实例演示如何映射和断开网络虚拟盘。 向窗体上添加两个TLabel组件、两个TEdit组件和两个TButton组件,设计完成的主界面如图1所...
//在 type 区写入: TMyClass = class property s: string; end; //然后把光标放在其中,执行 Ctrl+Shift+C,可以自动生成以下代...
需要了解的属性: AbsoluteIndex property AbsoluteIndex: Integer; Use AbsoluteIndex to determine absolute position of a no...
需要了解的属性: Count property Count: Integer; Use Count to determine the number of tree nodes in the tree view that ow...
需要了解的属性: AutoExpand property AutoExpand: Boolean; Set AutoExpand to true to cause the selected item to expand an...
Program Project1;Uses Forms, Windows, Messages, SysUtils; {$R *.res} Begin {=================-start 隐藏主窗体==========...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;...
Classes.ActivateClassGroup Classes.ActiveClassGroup Classes.AllocateHWnd Classes.AncestorIsValid Classes.BeginGlobalLoad...
一:各种字符串 字符串是ObjectPascal所有数据类型中最有用的类型。许多函数以字符串为传递参数。由于在Delphi中字符串的定义和...
SysUtils.IsLeapYear(); DateUtils.IsInLeapYear(); unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Class...