05 2016 档案
摘要:文本对象的最重要的功能之一是它不仅能够显示静态文本还能显示表达式。表达式混合在正常的文本内容中,让我们看一个简单的例子,他是如何工作的。在文件对象的内容中,输入以下字符: Hello, World! Today is [DATE]. 当报表运行时显示如下: Hello, World! Today is 01.01.2004. 发生了什么? 当FastReport构建报表,遇到一个在方括号中...
阅读全文
posted @ 2016-05-27 14:46
翼想天开的男孩
摘要:一:格式化一个值 聚合函数的一个特征是,返回的数值没有格式化,如如下例子所示,它使用“SUM”: 数据字段通常返回一个格式化的值,这是一个没有任何变化的“文本”对象所显示的值. 格式化“SUM” 的结果, 让我们用FastReport中的格式化工具. 双击报表上的对象,切换到'Display Format...' 页进行设置: 这个编辑器在左边显示格式的类别, 相应的格式字符显示在...
阅读全文
posted @ 2016-05-27 14:31
翼想天开的男孩
摘要:使用报表变量时,引用“frxVariables”单元。 变量定义在“TfrxVariable” 类: TfrxVariable = class(TCollectionItem) published property Name: String; //Name of a variable property Value: Variant; //Value of a variable...
阅读全文
posted @ 2016-05-27 11:43
翼想天开的男孩
摘要:一:加载和保存报表 报表默认保存在项目窗体文件中,大多数情况下,没有更多的操作要深圳市, 因此,你不需要采取特别措施来载入报告.如果你决定保存报表到文件或是数据库中 (这样更灵活, 比如修改报表不用重编译程序), 你可以使用 “TfrxReport” 组件是加载和保存方法: function LoadFromFile(const FileName: String; ExceptionIfNot...
阅读全文
posted @ 2016-05-27 10:19
翼想天开的男孩
摘要:Writing Custom Wizards 编写自定义的向导 You can extend FastReport's functionality with the help of custom wizards. FastReport, for example, contains the standard “Report Wizard” which is called from the ...
阅读全文
posted @ 2016-05-26 16:38
翼想天开的男孩
摘要:Using Custom Functions in a Report 在报表中使用自己义函数 FastReport has a large number of built-in standard functions for use in report designs. FastReport also allows custom functions to be written and us...
阅读全文
posted @ 2016-05-26 16:32
翼想天开的男孩
摘要:Writing Custom DB Engines 编写定制的DB引擎 FastReport can build reports not only with data sourced from a Delphi application but also from data sources (connections to DBs, queries) created within the r...
阅读全文
posted @ 2016-05-26 16:18
翼想天开的男孩
摘要:Writing Property Editors 编写属性编辑器 When you select a component in the designer its properties are displayed in the object inspector. You can create your own editor for any property. The “Font” prope...
阅读全文
posted @ 2016-05-26 15:56
翼想天开的男孩
摘要:Writing Component Editors 编写组件的编辑器 All common control editors (opened from a control's context menu or by double-clicking) create blank OnClick event handlers by default. This behavior can be alt...
阅读全文
posted @ 2016-05-26 15:20
翼想天开的男孩
摘要:Component Registration in Script System 在脚本系统中注册组件 To refer to our component from a script, the class, its properties and methods must first be registered in the script system. You may place the r...
阅读全文
posted @ 2016-05-26 13:56
翼想天开的男孩
摘要:Event Handler Description 事件处理描述 (自定义控件) How should a new event handler be defined if it does not already belong to the base class? Let's look at this using the “TfrxEditControl” common control as...
阅读全文
posted @ 2016-05-26 13:43
翼想天开的男孩
摘要:摘要:介绍如何编写自定义的控件,用在报表的窗体上(如Edit,Button等) Writing Custom Common Controls 编写自定义控件 FastReport contains a set of common controls which can be placed on dialogue forms inside reports. They are as follo...
阅读全文
posted @ 2016-05-26 12:01
翼想天开的男孩
摘要:摘要:简单介绍了如何编写一个FastReport的组件,并且注册到FastReport中使用。 Writing Custom Report Components 编写自定义报表组件 FastReport has a large number of components that can be placed on a report design page. They are: text, ...
阅读全文
posted @ 2016-05-26 11:38
翼想天开的男孩
摘要:"TfrxComponent" is the base class for all FastReport components. Objects of this type have attributes such as “coordinates”, “size”, “font” and “visibility” and have lists of subordinate objects....
阅读全文
posted @ 2016-05-26 10:38
翼想天开的男孩
摘要:SAP中,不能直接修改表的内容,可以用SE16N进行调试打开编辑选项,进行修改。 (注:直接修改数据有风险,首先要确认修改数据的关系或做好必要的备份) 1:运行SE16N ,填好表名,参数等。 2:在命令行输入:/H 回车,提示打开调试。 3:F8执行,进入调试界面 4:修改变量 GD-EDIT 和 GD-SAPEDIT 的值变成:X 5:F8继续执行。就可以修改记...
阅读全文
posted @ 2016-05-24 08:50
翼想天开的男孩
摘要:当软件在多个DELPHI版本下编译时,需要处理各版本的不同情况,使用编译条件技术实现。 万一博客,编译指令基础使用介绍:http://www.cnblogs.com/del/category/168694.html Delphi的版本区分: RTL的版本: Run-Time Library 运行时库, 包括 System, SysUtils, Math 三个单元. 提供函数与语言, 编译器,...
阅读全文
posted @ 2016-05-21 10:47
翼想天开的男孩
摘要:Delphi中的接口用 interface 进行声明。接口是针对行为方法的描述,而不管他实现这种行为方法的是对象还是别的什么东西。因此,接口和类的出发点是不一样的,是在不同的角度看问题。 接口通过GUID进行唯一标识。(Delphi IDE中按Ctrl+Shift+G 产生GUID) 高版本的Delphi已经用IInterface 进行统一接口的定义(不知道从哪个版本开始)。 IInterf...
阅读全文
posted @ 2016-05-20 11:25
翼想天开的男孩
摘要:QPlugins是一个DELPHI实现的插件框架,官方网址是:http://www.qdac.cc/ 。 把学习QPlugins的过程和心得做一个记录,以便应用到项目中,同时学习一些实现方法和思想。 大概内容: 一:概述 二:一个插件实例分析 三:插件管理器 四:插件加载器 五:DLL插件 六:BPL插件 七:跨进程插件 八:FMX插件 九:网络插件 … 附:常见问...
阅读全文
posted @ 2016-05-19 09:55
翼想天开的男孩
摘要:一个需求:显示一个窗体,并显示"Hello,World"。(这个例子不一定合适) 用DELPHI 实现上面的需求非常的简单,用向导创建一个项目,同时也创建好了一个窗体,再拖一个Label控件在窗体上,Label的Caption属性 设置成"Hello,World",编译运行程序即可完成。 这个程序有以下几个问题: 一:增加功能或改变需求时,要重新编译整个项目程序 二:不能多人开发 ...
阅读全文
posted @ 2016-05-19 09:50
翼想天开的男孩
摘要:原文地址:http://www.zhihu.com/question/19851243
阅读全文
posted @ 2016-05-17 14:14
翼想天开的男孩
摘要:新建Webbroker项目: 选择类型: 开始可以使用:Indy VCL Application 方便调试,完成后,再新建一个DLL 项目,引用业务单元。 示例代码如下: unit uDataModuleMain; interface uses SysUtils, Classes, HTTPApp, HTTPProd; type TWebModule2 ...
阅读全文
posted @ 2016-05-17 11:16
翼想天开的男孩
摘要:环境: OS:Windows Server 2003 Enterprise sp2 34位 IIS:6.0 ISAPI: delphi xe 编译的webbroker isapi dll 32位 (可以压缩) 1:安装IIS (略) 2:新建网站,配置基本选项 3:打开ISAPI扩展 4:复制ISAPI文件到网站目录 5:网站执行权限 调用测试。
阅读全文
posted @ 2016-05-17 10:56
翼想天开的男孩
摘要:环境: OS:Windows Server 2008 R2 Enterprise sp1 64位 IIS:7.5 ISAPI: delphi xe 编译的webbroker isapi dll 32位 (不能压缩) 1:安装IIS (略),ISAPI打上勾安装 2:新建网站,配置好基本的选项(主页,端口等) 3:ISAPI DLL 复制到网站目录 4:启动ISAP ...
阅读全文
posted @ 2016-05-17 10:48
翼想天开的男孩

浙公网安备 33010602011771号