摘要:
1.添加引用:dbclient2.置dbgrideh控件属性: 设置dghautosortmarking属性为true 设置希望排序的column的titlebutton属性为true3.//表格排序过程procedure ordergrid(dataset:tclientdataset;orderfield:string);var i:integer;begin if dataset.ind......
摘要:
1.添加引用:dbclient2.置dbgrideh控件属性: 设置dghautosortmarking属性为true 设置希望排序的column的titlebutton属性为true3.//表格排序过程procedure ordergrid(dataset:tclientdataset;orderfield:string);var i:integer;begin if dataset.inde......
编译原理的一个简单的枚举算法上一页 ... while l>1 do begin 【程序编程相关:
软件启动画面中启动状态的显示】 【推荐阅读:
一种树型控件在Delphi中的使用方法】 if ptr^={ then 【扩展信息:
获取其他进程中StatisBar的文本】 begin n:=n+1; end else if ptr^=}then if n>0 then n:=n-1 else begin result:=false; break; line^:=r.lines.count-c+1; col^:=length(r.lines.strings[i])-l+1; end; l:=l-1; end;// while l>1 do freemem(temp); i:=i+1; c:=c-1; end;//while line less than linecount if n=0 then result:=true else result:=false; end;
function tform1.phrase(str:string;phrase,nextptr:pchar):bool;
var phr:pchar; n:pchar; temp:pchar; ptr:pchar; //指向下一个要分析的单词的地址...
下一页 摘要:
最近在做的一个软件,其中有一部分功能需要调用其它的软件来完成,而那个软件只有可执行文件,根本没有源代码,幸好,我要做的事不难,只需要在我的程序启动后,将那个软件打开,在需要的时候,对其中的一个文本矿设置一些文字,再点击一个按钮就可以了。说到这里,相信你也有了对该功能的一些初步设想了,没错,其基本思路就是:1)调用createprocess()打开目标程序。2)用findwindow()找到目标......