02 2019 档案

MyEvent.SetEvent; // 同步信号置位
摘要:MyEvent.SetEvent; // 同步信号置位 TSimpleEvent.Create = TEvent.Create(nil, True, False, nil) = CreateEvent(nil, True, False, nil); 其中第三个参数表示同步信号初始化时状态 True表 阅读全文

posted @ 2019-02-26 12:01 newlives 阅读(470) 评论(0) 推荐(0)

使用Decimal时如何保持与数据库中一样的精度与小数位数呢
该文被密码保护。

posted @ 2019-02-26 11:26 newlives 阅读(1) 评论(0) 推荐(0)

关于 Lo、Hi、LoWord、HiWord
摘要:Cardinal 是 4 字节无符号的整型, 先看一个例数: Cardinal 是 4 字节无符号的整型, 先看一个例数: Cardinal 例数: 4277991664 按字节划分: 第四字节第三字节第二字节第一字节 二进制: 11111110111111001111100011110000 十六 阅读全文

posted @ 2019-02-26 09:58 newlives 阅读(359) 评论(0) 推荐(0)

delphi中的 IntToHex()
摘要:Delphi 自带函数 IntToHex Delphi 自带函数 IntToHex Delphi 自带函数 IntToHex Delphi 自带函数 IntToHex 功能说明:该函数用于将“十进制”转换成“十六进制”。该函数有二个参数。第一个参数为要转换的十进制数据,第二个参数是指定使用多少位来显 阅读全文

posted @ 2019-02-26 09:51 newlives 阅读(4074) 评论(0) 推荐(0)

indy 10.5.7的数据发送接收的用法
该文被密码保护。

posted @ 2019-02-25 14:06 newlives 阅读(0) 评论(0) 推荐(0)

上位机和下位机的概念
摘要:上位机和下位机的概念 上位机和下位机的概念 上位机和下位机的概念 上位机和下位机的概念 上位机是指:人可以直接发出操控命令的计算机,一般是PC,屏幕上显示各种信号变化(液压,水位,温度等)。 下位机是指:直接控制设备获取设备状况的的计算机,一般是PLC/单片机之类的。上位机发出的命令首先给下位机,下 阅读全文

posted @ 2019-02-25 09:29 newlives 阅读(3179) 评论(0) 推荐(0)

dbgrideh添加列、多表头及属性
摘要:(一)动态添加列 procedure TForm2.FormCreate(Sender: TObject); var vCol : TColumn; begin vCol := DBGrid1.Columns.Add; vCol.Title.Caption := 'Col1'; vCol.Field 阅读全文

posted @ 2019-02-23 14:14 newlives 阅读(1772) 评论(0) 推荐(0)

模拟输入
摘要:Edit1.setFocus keybd_event(8, MapVirtualKey(8, 0), 0, 0); keybd_event(8, MapVirtualKey(8, 0), KEYEVENTF_KEYUP, 0); procedure TForm1.Button1Click(Sende 阅读全文

posted @ 2019-02-20 11:32 newlives 阅读(656) 评论(0) 推荐(0)

Delphi maskedit控件的掩码含义及用法方法
摘要:Delphi maskedit控件的掩码含义及用法方法 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 阅读全文

posted @ 2019-02-20 08:54 newlives 阅读(814) 评论(0) 推荐(0)

如何为ADODataSet动态的增加一个计算字段?。ADODataSet的SQL语句是运行期指定的,可这时如何为ADODataSet增加一个计算字段?
该文被密码保护。

posted @ 2019-02-18 11:21 newlives 阅读(1) 评论(0) 推荐(0)

串口通讯
该文被密码保护。

posted @ 2019-02-16 11:56 newlives 阅读(0) 评论(0) 推荐(0)

For some strange reason I get the VisitDom called 2 times.打开两次
该文被密码保护。

posted @ 2019-02-16 09:15 newlives 阅读(0) 评论(0) 推荐(0)

ascii码值
摘要:ascii码值#0 空值 即null#8 退格键#13 回车键 阅读全文

posted @ 2019-02-15 11:44 newlives 阅读(224) 评论(0) 推荐(0)

Chromimu与JS交互的测试
摘要:CHROMIMU与JS交互的测试 好东西 谷歌浏览器 学习 研究 http://blog.csdn.net/grassdragon/article/details/51659798 Chromimu与JS交互的测试 2016-06-13 18:30 55人阅读 评论(0) 收藏 举报 分类: Chr 阅读全文

posted @ 2019-02-14 12:11 newlives 阅读(395) 评论(0) 推荐(0)

cxgridchart饼状图
摘要:var VIEW:TcxGridDBChartView; Level:TcxGridLevel; Series:TcxGridDBChartSeries; begin View := cxGrid1.CreateView(TcxGridDBChartView) as TcxGridDBChartVi 阅读全文

posted @ 2019-02-01 14:41 newlives 阅读(609) 评论(0) 推荐(0)

delphi 参数的传址与传值
该文被密码保护。

posted @ 2019-02-01 10:07 newlives 阅读(1) 评论(0) 推荐(0)