2018年5月8日

摘要: cxRichEdit1获取EXCEL的区域图片 搞了好久却原来其实太简单: cxRichEdit1.Clear;Clipboard.Clear;ActiveSheet.cells[2, iCol].CopyPicture(1, 2);cxRichEdit1.PasteFromClipboard; 搞 阅读全文
posted @ 2018-05-08 19:50 westsoft 阅读(232) 评论(0) 推荐(0) 编辑
 
摘要: 动态设置和访问cxgrid列的Properties 设置: cxGrid1DBTableView1Column.PropertiesClass = TcxTextEditProperties; cxGrid1DBTableView1Column.PropertiesClass = TcxDateEd 阅读全文
posted @ 2018-05-08 19:48 westsoft 阅读(947) 评论(0) 推荐(0) 编辑
 
摘要: TcxVerticalGrid demo procedure TForm1.Button1Click(Sender: TObject);varrow: TcxEditorRow;i,t: Integer;begingrid.ClearRows;Row := TcxEditorRow(Grid.Add 阅读全文
posted @ 2018-05-08 19:46 westsoft 阅读(252) 评论(0) 推荐(0) 编辑
 
摘要: 好用的编辑框布局控件TdxLayoutControl TdxLayoutControl是编辑框的容器,里面的编辑框可以自动对齐,自由拖放,异常方便。 TdxLayoutControl是编辑框的容器,里面的编辑框可以自动对齐,自由拖放,异常方便。 TdxLayoutControl是编辑框的容器,里面的 阅读全文
posted @ 2018-05-08 19:45 westsoft 阅读(545) 评论(0) 推荐(0) 编辑
 
摘要: function TForm15.CreateBand(View: TcxGridDBBandedTableView; BandCaption, ParentBandCaption: String): TcxGridBand;var band: TcxGridBand;begin Result := 阅读全文
posted @ 2018-05-08 19:44 westsoft 阅读(318) 评论(0) 推荐(0) 编辑
 
摘要: TcxDBVerticalGrid优秀的编辑控件 阅读全文
posted @ 2018-05-08 19:43 westsoft 阅读(414) 评论(0) 推荐(0) 编辑
 
摘要: TdxAlertWindowManager右下角HINT显示控件 带爱像的右下角HINT显示,自动隐藏 function alterInfo: TdxAlertWindowManager;begin if not Assigned(Falter) then begin Falter := TdxAl 阅读全文
posted @ 2018-05-08 19:42 westsoft 阅读(345) 评论(0) 推荐(0) 编辑
 
摘要: cxgrid动态创建列 procedure TFrmRuleEdit.CreateCols;varColumn: TcxGridDBColumn;begincdsPowerPrj.First;while not cdsPowerPrj.Eof dobeginColumn := viewPower.C 阅读全文
posted @ 2018-05-08 19:41 westsoft 阅读(127) 评论(0) 推荐(0) 编辑
 
摘要: cxgrid显示海量数据 在默认情况下,cxgrid显示几万条以上的数据会很慢。怎么办? 交下面的属性设为TRUE以后,速度飞快。 但速度是快了,自动计算列的合计值这些功能却失效了,正所谓有得必有失! 阅读全文
posted @ 2018-05-08 19:40 westsoft 阅读(169) 评论(0) 推荐(0) 编辑
 
摘要: https://blog.csdn.net/xieyunc/article/details/48738423 Delphi 两个应用程序(进程)之间的通信 2015年09月25日 21:43:18 阅读数:2358 2015年09月25日 21:43:18 阅读数:2358 阅读数:2358 两个应 阅读全文
posted @ 2018-05-08 13:28 westsoft 阅读(337) 评论(0) 推荐(0) 编辑
 
摘要: 实现原理是启动一个应用程序,通过ProcessID得到窗体句柄,然后对其设定父窗体句柄为本程序某控件句柄(本例是窗体内一个Panel的句柄),这样就达成了内嵌的效果。 本文实现的是内嵌一个记事本程序,如下图: 在实现细节上需要注意几点: 为了美化程序的嵌入效果,需要隐藏其标题栏 在外部窗体大小变化时 阅读全文
posted @ 2018-05-08 13:10 westsoft 阅读(2395) 评论(0) 推荐(0) 编辑