辰峰微网

懒人代码

Delphi 2017-09-24

主程序与DLL之间的全局变量

1. 在Project1.Form1 上拖一 Button 整个 Unit1 源码如下 unit Unit1; interface uses Windows, Mess...

1966 0
Delphi 2017-08-04

DELPHI 调用DLL文件中FORM的调用[2]

主程序: unit Unit1; interface uses   Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Sy...

2025 0
Delphi 2017-07-14

StrUtils 中的 Ansi 字符串函数DEMO

unit Unit1; interface uses   Winapi.Windows, Winapi.Messages, System.SysUtils, System....

1975 0
Delphi 2017-07-13

Delphi 中的字符串函- SysUtils 中的 Ansi 字符串函数(2

//对比字符串是不是一: AnsiSameStr、AnsiSameText var   ss,s: AnsiString;   b: Boolean; begin   ss := 'abc';   s...

1987 0
Delphi 2017-07-13

Delphi 中的字符串函- StrUtils 中的 Ansi 字符串函数(1

//从左右两端提取指定数目的字符: AnsiLeftStr、AnsiRightStr var   ss,s: AnsiString; begin   ss := 'abcdefg';   s := AnsiL...

1756 0
Delphi 2017-07-13

TcxCheckComboBoxItems.Add

TcxCheckComboBoxItems.Add TcxCheckComboBoxItems See Also Creates a new item and adds it to the items collection. functi...

1929 0
Delphi 2017-07-13

TcxCheckComboBoxItems.AddCheckItem

TcxCheckComboBoxItems.AddCheckItem TcxCheckComboBoxItems See Also Creates a new item with the specified caption and adds...

2029 0
Delphi 2017-07-13

cxCheckCombobox里实现checked和获取Itemindex

今天用cxCheckCombobox,准备获取cxCheckCombobox里所有被checked的Items的Itemindex,通过个人的思考和从网络上获取的参考,用cxCheckCombobox实现以上功能主要有两种方法。如下: us...

2344 0
Delphi 2017-07-13

[转]Delphi TcxComboBox控件说明

属性:    Text:ComboBox 的文本信    EditText: 也是给ComboBox 的文本信息赋值,但不同的 给Text赋值会 触发 Change事件,也会触 Editvalue...

1900 0
Delphi 2017-07-08

delphi 各种时间类型之间的转换函

各种时间类型之间的转换函 DateTimeToFileDate函数 定义:DateTimeToFileDate(DateTime: TDateTime): Integer; 作用 将一个TDateTi...

1686 0
Delphi 2017-06-18

DELPHI 调用DLL文件中多FORM的调

library Project1;uses SysUtils,    Classes,Forms,windows,dialogs,   Unit1 in 'Unit1.pas'&n...

2058 0
Delphi 2017-06-06

delphi xe 10.1项目中的modelsupport文件夹删

今天在写代码的时候惊讶的发现,我的项目中多了一个带ModelSupport的文件的东西,也不知道干嘛用的,总觉得别扭,但是直接删除项目文件夹,再次打开项目,好家伙带ModelSupport的文件夹又出来了,于是乎就有了下面的粗暴的...

1711 0