社区
Delphi
帖子详情
惨了,用户要在EHLIB的汇总栏自己写东西,大家说该怎么办?
8341
2004-08-11 04:08:36
就是在最后一行FOOTER里,如果计算的不满意他就要自己写,咋整?
...全文
154
4
打赏
收藏
惨了,用户要在EHLIB的汇总栏自己写东西,大家说该怎么办?
就是在最后一行FOOTER里,如果计算的不满意他就要自己写,咋整?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
8341
2004-08-12
打赏
举报
回复
偶是这么解决滴:
procedure TshejiX.DBGridEh1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
if DBGridEh1.Height-Y<40 then //最后一行FOOTER
begin
OraTable8.Last;
if OraTable8.FieldValues['jd']='合计' then exit;
if messagEbox(HANDLE,'自己输入?','',mb_yesno)=Idno then exit;
OraTable8.Append;
OraTable8.FieldValues['jd']:='合计' ;
OraTable8.FieldByName('zql').AsString:=DBGridEh1.GetFooterValue(0, DBGridEh1.Columns[3]);
OraTable8.FieldByName('qd').AsString:=DBGridEh1.GetFooterValue(0, DBGridEh1.Columns[4]);
OraTable8.FieldByName('zqcy').AsString:=DBGridEh1.GetFooterValue(0, DBGridEh1.Columns[5]);
OraTable8.FieldByName('zqscsj').AsString:=DBGridEh1.GetFooterValue(0, DBGridEh1.Columns[6]);
OraTable8.FieldByName('yqb').AsString:=DBGridEh1.GetFooterValue(0, DBGridEh1.Columns[7]);
DBGridEh1.FooterRowCount:=0;
end;
end;
多壮志
2004-08-11
打赏
举报
回复
如不直接打印ehlib则没有意义。如果有,那么好办
可以使用ehlib sumlist,并把最后的结果修改到特定行!
aiunong
2004-08-11
打赏
举报
回复
gz
8341
2004-08-11
打赏
举报
回复
up
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
36
EhLib
4.3 -
EhLib
delphi7安装方法: 1、在“D:\Program Files\Borland\Delphi7”(delphi7安装目录)下创建一个文件夹
EhLib
。 2、把
ehlib
src4.3\Common下的文件复制到
EhLib
文件夹下。 3、把
ehlib
src4.3\Delphi7下的文件复制到
EhLib
文件夹下。 4、打开delphi7, File\Open..., 编译D:\Program Files\Borland\Delphi7\
EhLib
\
EhLib
60.dpk。 5、File\Open..., 编译并安装(Install)D:\Program Files\Borland\Delphi7\
EhLib
\Dcl
EhLib
60.dpk。 6、设置delphi7的环境变量,Tools\Environment Options\Library, 设置Library path, 添加$(DELPHI)\
EhLib
;
EhLib
使用
说
明
EhLib
使用
说
明,介绍
EhLib
的详细使用
说
明。
EhLib
5.0.13 最新的
ehlib
源码
EhLib
5.0 Build 5.0.13 Russian version. Full source included. ------------------------------------------------------------------- The Library contains components and classes for Borland Delphi versions 5, 6, 7, 8 & 9 , Borland C++ Builder versions 5 & 6, Borland Developer Studio 2006, CodeGear Delphi 2007, CodeGear RAD Studio 2009 and Embarcadero RAD Studio 2010. TABLE OF CONTENTS ----------------- Overview Installation Library Installation Help Demonstration Programs Registering and Prices Other information About author Overview -------- The Library contains several components and objects. TDBGridEh component TDBGridEh provides all functionality of TDBGrid and adds several new features as follows: Allows to select records, columns and rectangle areas. Special titles that can correspond to several/all columns. Footer that is able to show sum/count/other field values. Automatic column resizing to set grid width equal client width. Ability to change row and title height. Allows automatic broken of a single line long title and data row to a multiline. Title can act as button and, optionally show a sort marker. Automatically sortmarking. Ability to truncate long text with ellipsis. Lookup list can show several fields. Incremental search in lookup fields. Frozen columns. DateTime picker support for TDateField and TDateTimeField. Allows to show bitmaps from TImageList depending on field value. Allows to hide and track horizontal or vertical scrollbars. Allows to hide columns. Allows to show 3D frame for frozen, footer and data rows. Allows to draw memo fields. Multiline inplace editor. Proportional scrolling independently of sequenced of dataset. Automatically show checkboxes for Boolean fields. Allows to show checkboxes for other type of fields. Has a procedures to save and restore layout (visible columns, columns order, columns width, sortmarkers, row height) in/from registry or
EhLib
的最新版本
EhLib
5.5
EhLib
5.5包含了Borland的Delphi5-9,2005,2006,Borland C ++ Builder 5-6,CodeGear Delphi 2007,CodeGear RAD Studio 2009,Embarcadero RAD Studio 2010,XE和RAD Studio XE2,目的在于增加客户端数据库在交互部分应用的能力。
Ehlib
5.5新功能 + 增加对Embarcadero RAD Studio XE2的支持。 +为TDBGridEhStyle增加了ThemeTitleFillElement功能
EhLib
是一套 Delphi 第三方组件库,简单易用,提供了实际开发中非常有用的功能。其中最为代表性的是 DBGirdEh 表格组件。 DBGridEh 可以为你提供一个更加美观和功能丰富的 DBGird,比如平面化显示、奇偶行不同颜色(斑马线)、快速查找、合计行、Grid 打印等。在
Ehlib
的后期版本中,还提供了一个非常强大的过滤功能,他会在 DBGrid 的表头下方显示一个过滤行,
用户
在此行的相应列中输入查询条件,DBGridEh 可以自动为您筛选出所需要的数据。
Delphi
5,388
社区成员
262,730
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章