为什莫使用OpenDialog,动态设置其的Filter属性,就像这样: procedure TForm1.Button1Click(Sender: TObject); begin if OpenDialog1.Execute then OpenDialog1.Filter := 'Text files (*.txt)|*.TXT'; end;
end. 程序运行以后,在最下面并没有任何过滤字符串出现,然后在双击了一个任意文件以后,再打开一次程序,才会出现过滤字符(比如上述例子的'Text files (*.txt)); 而在静态设置这个属性倒是正常的,这到底怎摸了????
----------------------------------------------
ignore,Ctrl+Alt+Del,then begin;is die,but just not die。
原来如此,是这个道理啊。。。。。。。。。。。。。。。。。。。。。。。 对了,不知道能不能修改delphi里面的诸如OpenDialog等控件的界面,自己加些功能(除了自己模拟做一个之外)呢?
----------------------------------------------
ignore,Ctrl+Alt+Del,then begin;is die,but just not die。