• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Greyed Wolf

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  Delphi开发

上一页 1 2 3 下一页

Delphi开发的经验和技巧
 
In a Web Application and Mobile (hybrid), how to know which this platform running?
摘要:needed depending on the platform to change the CSS to suit the size of the font. for example the DbGrid Hi You can try this js code to check platform. 阅读全文
posted @ 2016-04-28 14:42 Greyed Wolf 阅读(211) 评论(0) 推荐(0)
网友写的解决uniGUI限制的方法
摘要:(2015-09-28 22:19:06) 转载▼ 转载▼ 标签: 杂谈 分类: uniGUI 杂谈 群友写的解决uniGUI试用版限制修改SessionTimeOut,思路很精巧,贴过来分享,感谢朋友的奉献。当然,如果真正用uniGUI实做项目,买份正版是正道!var UniServerOptio 阅读全文
posted @ 2016-04-28 09:33 Greyed Wolf 阅读(783) 评论(0) 推荐(0)
delphi各个版本编译开关值
摘要:delphi各个版本编译开关值{$IFDEF VER80} - Delphi 1{$IFDEF VER90} - Delphi 2{$IFDEF VER100} - Delphi 3{$IFDEF VER120} - Delphi 4{$IFDEF VER130} - Delphi 5{$IFDEF 阅读全文
posted @ 2016-04-08 09:39 Greyed Wolf 阅读(290) 评论(0) 推荐(0)
TMS scripter使用心得
摘要:TMS scripter提供了在delphi应用程序中使用pascal 脚本的能力。TMS scripter同时提供了一个工具SSImport.exe,用来把打算在应用程序中使用的类自动生成wraper文件(ap_*.pas)。 SSImport.exe的使用: 1、设置project option 阅读全文
posted @ 2016-03-30 15:27 Greyed Wolf 阅读(783) 评论(1) 推荐(0)
unigui中TUniDBEdit的OnEndDrag问题
摘要:非常奇怪,unigui中TUniDBEdit未发布OnEndDrag属性,包括其子类:TUniDBNumberEdit、TUniDBFormattedNumberEdit。而其他数据感知组件都有OnEndDrag属性。 不知是作者的疏忽还是故意为之。临时加一个类解决此问题: TUniDBEditd 阅读全文
posted @ 2016-03-25 10:58 Greyed Wolf 阅读(336) 评论(0) 推荐(0)
FastReport5的安装
摘要:1、运行recompile.exe,选择相应的delphi版本,选择recompile to chinese,编译; 2、选择recompile all pakages,编译; 3、将lib目录下的dcp、bpl文件拷贝到 C:\Users\Public\Documents\RAD Studio\9 阅读全文
posted @ 2016-03-20 19:08 Greyed Wolf 阅读(1372) 评论(0) 推荐(0)
Delphi 运行Word VBA 宏 删除软回车
摘要:Sub 整理网页()'整理网页:删除软回车、删除空白段、使段落文字两端对齐Selection.WholeStory Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Fin 阅读全文
posted @ 2016-02-24 10:39 Greyed Wolf 阅读(641) 评论(0) 推荐(0)
在Delphi中使用ShellExecute(handle, 'open', PChar(fname),nil, nil, SW_HIDE)函数应注意的问题
摘要:在Delphi中使用ShellExecute(handle, 'open', PChar(fname),nil, nil, SW_HIDE)函数应注意的问题: 一、对一般vcl程序及isapi dll(apache isapi dll模块): ShellExecute涉及到的文件(包括执行程序和其他 阅读全文
posted @ 2016-01-29 09:15 Greyed Wolf 阅读(310) 评论(0) 推荐(0)
为UniDBEdit添加拖拽属性
摘要:不知是作者Fashard的疏忽还是有意,UniDBEdit的拖拽属性居然没有发布出来(其他组件都已发布)。加上其实也很简单。打开source目录下的uniDBEdit.pas单元,在TUniDBEdit = class(TUniCustomDBEdit)类定义的 published部分的最后加入 p... 阅读全文
posted @ 2016-01-06 09:35 Greyed Wolf 阅读(258) 评论(0) 推荐(0)
Unigui unidbgrid+unidac uniquery联合使用时产生的奇葩问题
摘要:如下一个uniquery查询:SELECT a.id,a.userid,a.name,if(a.completed='T',CONCAT('',a.subject,''),CONCAT('',a.subject,'')) subject,b.FullName,getusernamebyid(a.mo... 阅读全文
posted @ 2015-12-03 09:06 Greyed Wolf 阅读(1114) 评论(0) 推荐(0)
TMS Scripter importtool的使用
摘要:uses ap_DateUtils; showmessage(dayof(now));//注册delphi对象或变量 : IDEScripter1 IDEScripter1.AddConstant('Appath',Appath); IDEScripter1.AddObject('memo1',... 阅读全文
posted @ 2015-10-11 16:05 Greyed Wolf 阅读(400) 评论(0) 推荐(0)
UNIGUI:How to redirect and close session?
摘要:Hello,i would have 2 unigui app.the first app is a simple authentification app and second will be the main app.I'd like to havethe following scenario.... 阅读全文
posted @ 2015-09-07 11:23 Greyed Wolf 阅读(1088) 评论(0) 推荐(0)
关于使用unigui、webxone、mysql的几个问题
摘要:一、webxone的问题:1、目前稳定可用的版本好像是v2510;2、设计webxone应用时,窗口的“position”属性只能设置为poDesigned,而且不能动态改变窗口尺寸,否则在浏览器中显示不正常。二、32位的unigui的isapi应用只能部署到32位的apache web serve... 阅读全文
posted @ 2015-06-11 09:52 Greyed Wolf 阅读(425) 评论(0) 推荐(0)
DELPHI-Delphi常用类型及定义单元
摘要:DELPHI-Delphi常用类型及定义单元TypeUnitDateSysUtilsDeleteFileSysUtils or Windows (different versions)DispatchInvokeErrorComObjDWORDWindowsEDatabaseErrorDBEncod... 阅读全文
posted @ 2015-05-30 15:10 Greyed Wolf 阅读(5095) 评论(0) 推荐(0)
how to close the old Session - if the same username starts a new Session?
摘要:Question:want to close the old Session - if the same username starts a new SessionAny ideas how i can do this? - one user should not be able to start ... 阅读全文
posted @ 2014-10-26 10:01 Greyed Wolf 阅读(357) 评论(0) 推荐(0)
Delphi程序的自动升级功能的实现(AutoUpdate使用指南)
摘要:在UtiMnid组件下,利用auAutoUpgrader实现自动升级(已经测试通过)第一步:下载AutoUpgrader.Pro.v4.6.4。第二步:打开AutoUpgrader.Pro.v4.6.4下面的Delphi7目录,双击AutoUpgraderProD7.package文件安装,点ins... 阅读全文
posted @ 2014-04-27 12:18 Greyed Wolf 阅读(5553) 评论(2) 推荐(0)
在Delphi2007下安装ReportMachine6.5
摘要:如何在Delphi2007下安装ReportMachine6.5:一、在安装ReportMachine6.5之前要安装如下组件:(1)、llPdfLib3.6,用于导出PDF文件;(2)、Ehlib5.6,用于生成多层报表;(3)、infopower可选;(4)、修改rm.inc文件,打开如下编译选项: {$DEFINE llPDFLib} // Use llPDFLib to Export PDF File; {$DEFINE EHLib}{$DEFINE EHLib20}二、编译ReportMachine6.5:rm_r2007.dpk、rm_d2007.dpk编译时会报错:找不到:EhL 阅读全文
posted @ 2014-03-12 15:48 Greyed Wolf 阅读(1075) 评论(0) 推荐(0)
Delphi回调函数的使用-例子
摘要:Delphi回调函数的使用-例子功能大体描述:Form1中有一个Edit和一个Button,当点击BUTTON时弹出FORM2,FORM2中也有一个EDIT和一个BUTTON,当点击FORM2中的BUTTON时,将FORM2中的EDIT的TEXT属性赋值给FORM1中的EDIT的TEXT。unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,StdCtrls;type TForm1 = class(TForm) {主窗体中放一... 阅读全文
posted @ 2014-01-17 11:06 Greyed Wolf 阅读(536) 评论(0) 推荐(0)
Delphi中 为DBNavigator的按钮加中文
摘要:Delphi中 为DBNavigator的按钮加中文/*Delphi中数据库控件DBNavigator使用起来不错,但是按钮上“+”、“-”等含义对于中国的用户不习惯,甚至不知道是什么含义。改成相应含义的汉字表示出来 */ unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, ExtCtrls, DBCtrls; type TMyNavgator = class(TDBNavigator)... 阅读全文
posted @ 2013-12-17 08:31 Greyed Wolf 阅读(1735) 评论(0) 推荐(0)
Delphi 中关闭指定进程的方法
摘要:Uses Windows, SysUtils, Tlhelp32; FunctionKillTask(ExeFileName:String):Integer;//关闭进程 FunctionEnableDebugPrivilege:Boolean;//提升权限 FunctionFindProcessId(ExeFileName:String):THandle;//查找进程 Implementation FunctionFindProcessId(ExeFileName:String):THandle; Var ContinueLoop:BOOL; FSnapshotHandle:THandle; 阅读全文
posted @ 2013-12-06 14:44 Greyed Wolf 阅读(1835) 评论(0) 推荐(0)
 

上一页 1 2 3 下一页