张志峰的博客

水滴石川,积少成多。

导航

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 120 下一页

2016年7月27日

摘要: 前面说到过可以使用不用的语言文件实现不同的显示方式,方便与国际接轨,事实上即使没有语言文件也可以实现修改。[Messages] 段用于定义安装程序和卸载程序中显示的消息。一般不需要创建 [Messages] 段,因为所有的消息在Inno Setup的Default.isl文件 (或在[Languag 阅读全文

posted @ 2016-07-27 14:52 ╰★张志峰★╮ 阅读(420) 评论(0) 推荐(0)

摘要: 有些程序需要随系统启动,或者需要建立某些文件关联等问题,这些都是通过在安装程序中对注册表进行操作的结果。Inno Setup中通过[registry]段实现对注册表的操作。 本段说明: 参数列表: 参数 说明 Root 根键。必须是下列中的一个: HKCR (HKEY_CLASSES_ROOT) H 阅读全文

posted @ 2016-07-27 14:50 ╰★张志峰★╮ 阅读(423) 评论(0) 推荐(0)

摘要: //注册表启动项 [Registry] Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "testrun"; ValueData: "{app}\{# 阅读全文

posted @ 2016-07-27 14:46 ╰★张志峰★╮ 阅读(1689) 评论(0) 推荐(0)

2016年7月26日

摘要: Delphi(68) Delphi(68) procedure TForm1.ShowForm2;begin Self.Enabled := False; try with TForm2.Create(nil) do begin try if ShowModal = mrOk then // Ret 阅读全文

posted @ 2016-07-26 15:51 ╰★张志峰★╮ 阅读(1851) 评论(0) 推荐(0)

摘要: 使窗体Showmodal后可以操作其他窗体 字体大小: 中小 标准 ->行高大小: 标准 中 大 使窗体Showmodal后可以操作其他窗体 字体大小: 中小 标准 ->行高大小: 标准 中 大 01 对话框ShowModal之后不能操作其它窗口,实际上是因为Windows Disable了其它窗口 阅读全文

posted @ 2016-07-26 15:47 ╰★张志峰★╮ 阅读(3012) 评论(0) 推荐(0)

2016年7月24日

摘要: unit ufrmSysPubMessage;interfaceuses Windows, Forms, Messages, Classes, ExtCtrls, Controls, StdCtrls;type TfrmSysPubMessage = class(TForm) Image1: TIm 阅读全文

posted @ 2016-07-24 17:50 ╰★张志峰★╮ 阅读(528) 评论(0) 推荐(0)

2016年7月23日

摘要: procedure sdfg.iTimers1Timer4(Sender: TObject);var vsub : Cardinal; vSetinterval: Cardinal;begin vsub := GetTickcount - FCurrSampleTime; vSetinterval 阅读全文

posted @ 2016-07-23 16:41 ╰★张志峰★╮ 阅读(713) 评论(0) 推荐(0)

摘要: procedure Tfrm_InstrumentControl.aa;var CurLength: Word; vTimeLength: Word;begin Screen.Cursor := crHourGlass; try vTimeLength := StrToIntDef(num_Gros 阅读全文

posted @ 2016-07-23 16:40 ╰★张志峰★╮ 阅读(373) 评论(0) 推荐(0)

2016年7月19日

摘要: var sql, sFile:string; db:TSQLiteDatabase;begin try sFile := G_AppPath + CH_IPC712Db; //if FileExists('test.db') then DeleteFile('test.db'); //连接数据库,如 阅读全文

posted @ 2016-07-19 16:39 ╰★张志峰★╮ 阅读(3578) 评论(0) 推荐(0)

摘要: 原文地址:http://blog.csdn.net/yangchun1213/article/details/7656146 原文地址:http://blog.csdn.net/yangchun1213/article/details/7656146 说了这么多,没进主题,我的主题是给Sqlite在 阅读全文

posted @ 2016-07-19 15:49 ╰★张志峰★╮ 阅读(968) 评论(0) 推荐(0)

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 120 下一页