【Delphi网格相关】
文章平均质量分 77
Delphi网格相关
再创世纪
这个作者很懒,什么都没留下…
展开
-
【Delphi POST提交数据】
unit DcpMain;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vc...原创 2021-11-23 12:14:25 · 1076 阅读 · 0 评论 -
Delphi 中SQL模糊查询和字段查询
procedure TFrmain.scGPEdit1Change(Sender: TObject);var ASql, AKey: string; //模糊查询和字段查询const vsql1: string = 'select * from delphi where Title like '; vsql2: string = 'select * from delphi';begin AKey := Trim(scGPEdit1.Text); //获取关键词...原创 2020-12-03 16:10:52 · 706 阅读 · 1 评论 -
Delphi中关于DevExpress VCL汉化方法
用法1:在工程中加入控件cxLocalizer;在程序中加入如下语句:Localizer.LoadFromFile(‘DevLocal.ini‘);Localizer.Language:='中文(简体,中国)';Localizer.Active:=true;用法2:用DevExpress提供的工具cxLocalizerEditor打开这个ini文件,然后File->BuildResourceFile...;在工程中加入控件cxLocalizer;在程序中加入如下...原创 2020-12-03 16:07:48 · 755 阅读 · 0 评论 -
IDHTTP.Get时界面卡死的解决方法
今天做了个IDHTTP.get采集网页的时候,网站网络情况不好,界面就卡死了,通过百度发现使用下面的方法可以实现水卡死情况放一个TIdAntiFreezeControl控件,然后在执行的任务前面加上下面这句即可IdAntiFreeze1.OnlyWhenIdle:=False;//设置使有反应比如:procedure TForm1.Button2Click(Sender: TOb...原创 2019-08-18 16:12:21 · 1238 阅读 · 0 评论 -
使用 idHTTP 获取 UTF-8 编码的中文网页 - 回复同学 "Delphi学习者" 的问题
uses IdHTTP;const Url = 'http://del.cnblogs.com';procedure TForm1.Button1Click(Sender: TObject);var stream: TStringStream; idHttpObj: TIdHTTP;begin stream := TStringStream.Create('', TEnco转载 2013-10-15 10:06:41 · 1095 阅读 · 0 评论